Sample code in C for controlling PSC serial
Hi,
Is there any sample code in C for controlling PSC serial available from Parallax?
Thanks,
Is there any sample code in C for controlling PSC serial available from Parallax?
Thanks,
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
· So, I was wondering what I could send it to make it behave similar to if I program it using BASIC with:
open in any text editor.
The Javelin uses the Uart object to open a serial channel. Like Mike said,
you need to figure out how to open a serial port on your system.
Apart from that, the remaining code should be useful.
Edit: The javelin integers are 16bit signed. Keep that in mind when converting code
to your system, as that may well use 32bit integers.
regards peter
Post Edited (Peter Verkaik) : 11/13/2007 5:20:21 AM GMT
http://forums.parallax.com/showthread.php?p=611904
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support