C to Spin
AS
Posts: 149
Hello everyone!
I have a very simple question:
It´s possible creat Spin code from C, instead of compile directly to the Propeller?
Thanks!
AS
I have a very simple question:
It´s possible creat Spin code from C, instead of compile directly to the Propeller?
Thanks!
AS
Comments
You can take a look at: http://forums.parallax.com/showthread.php/119342-CSPIN-A-C-to-Spin-Converter
Leon: Very interesting, but is for compile from Spin to C. I will experiment it.
Dgately: I think is this what i´m looking for. I will try it for sure.
Rayman: How Rockiki do that with Dgately sugestion? I will try to find it.
Just for you know what i´m trying to do: Use the Fuzzy logic write in C to Spin.
See: http://www.zerokol.com/2012/09/arduinofuzzy-fuzzy-library-for-arduino.html
Because I don´t see Fuzzy logic in OBEX.
Thanks!!
I believe that script is the same one bundled with FSRW here: http://sourceforge.net/projects/fsrw/
Thanks for the help!
SRLM: Thanks for the link.
Dave Hein: Thanks a lot for your great work! I will try. What kind of limitations? Can you give me an idea?
The files from Arduino are .ino How I should do with CSpin? I need .C
Any sugestion?
There a lot god work done to arduino!
with my ignorance, i´m trying understand, if some how it was possible: arduino-C to spin. I can use propeller with the arduino code instead have to do that objets in spin.
At this moment I´m learning Fuzzy Logic, and i´m thinking, for machines i want a propeller because the 8 cogs, 1 cog for the fuzzy, at this point, 1 cog for serial conection to the PC and the others for other tasks.
If i could do that, with some time, i can use the arduino code for 3D printer RepRap, for example!
Sincerely i´m not a good programer in SPIN, but i prefer SPIN and the propeller of course (because the 8 cogs for machines).
Dave Hein: Thanks! but with my knowledge i prefer do a simple aplication to the Fuzzy, i´m not sure if i can do it! because there aren´t a good object for Fuzzy, in SPIN.
David Betz: Thanks! I try already to answer your question! At this point i understand better SPIN to propeller and now i need learn C++ to propeeler, I don´t think it is very dificult but where i can learn? like i learn in the books for the spin?
My idea is remake the code from the arduino to the propeller!
With propeller GCC I need learn about the cogs in C++ to propeller. (for example)
any sugestions!
thanks you all