November 22, 2024, 04:21:13 PM

News:

You can now use Vixen to program your Prop-1 and Prop-2 controllers!  Get started quickly and easily, without having to learn PBASIC.  Details in the Library forum.


Examples of Prop-SX code using C

Started by BigRez, December 19, 2008, 01:53:11 PM

Previous topic - Next topic

BigRez

Hi All -

Anyone doing Prop-SX programming using the C language?  Are there any examples of C code for the prop-sx around?  (Looked in the library but didn't see any.)  Any thoughts of using C vs. sx/b for the prop-sx?

Thanks in advance.

JonnyMac

December 19, 2008, 02:27:30 PM #1 Last Edit: December 19, 2008, 03:01:52 PM by JonnyMac
The trouble is finding a C compiler -- at the same price as SX/B.  There is a possible solution, though it doesn't integrate into the SX-Key IDE cleanly; still it's a solution that I know a couple people are using with the SX chip.

Checkout these links:
-- http://www.rwsenser.com/c4sx/C4SX_Environment.htm
-- http://forums.parallax.com/forums/default.aspx?f=7&m=214117
-- http://forums.parallax.com/forums/default.aspx?f=7&m=310418
-- http://www.sxlist.com/techref/ubicom/languages.htm

I've only "played" a bit with this, but after the holidays and when I have some breathing room I, too, will but a bit more effort into it.  It's likely I'll setup an external editor like EditPlus or Programmer's Notepad to handle the editing and compiling then calling the SX-Key IDE with the compiled (.SRC) file. 

If you come up with something sooner, please share!

Jon McPhalen
EFX-TEK Hollywood Office