Society of Robots - Robot Forum
Software => Software => Topic started by: yyy on September 17, 2009, 01:38:06 PM
-
How I can send or receive information through the LPT and COM
I search after electrical circuit sketch
and useful commands in C that can help me to program this
also I will glad to receive sites that talk about this problem
-
What operating system?
What MCU?
-
Windows XP & PIC 18F
-
There is a C library called Zephyr that I hear (I've never used it, as I am a Linux user) is pretty good. I've had some school mates build robots controlled by it.
Check the USART pages in the PIC18F data sheet for that part.
Now, make sure you use convert it from serial to TTL levels. If you need to do this manually, look up a MAX232 IC.
-
Why not USB? There are many USB to serial adapters for $10-$30 out there.
Just print out data through UART (tons of code online for this), and connect with HyperTerminal to view it.