Shop OBEX P1 Docs P2 Docs Learn Events
Prop C — Parallax Forums

Prop C

carlyncarlyn Posts: 78
edited 2013-06-19 20:21 in General Discussion
Ok then, I'll try a new tack...can i use both C and Spin in my code. So that I can learn C while using the prop and still use the OBEX library ?

Comments

  • Martin_HMartin_H Posts: 4,051
    edited 2013-06-19 07:12
    carlyn wrote: »
    Ok then, I'll try a new tack...can i use both C and Spin in my code. So that I can learn C while using the prop and still use the OBEX library ?

    At the present time I don't think they can inter-operate at run time. However, I use a tool called spin2cpp which compiles the Spin code into C++. I can then use this code in my C++ code with propgcc. Here's the location of the tool:

    https://code.google.com/p/spin2cpp/

    So far it has worked pretty well and I've pulled many objects from OBEX.
  • carlyncarlyn Posts: 78
    edited 2013-06-19 20:21
    you men always come up with ways around everything :) but i will con tinue to use Spin and play and learn with C
Sign In or Register to comment.