Hello all
I'm sorry if this is a silly question, but I am trying to get my pic to send a txt string to a PC running hyperterminal.
The code looks something like this, though it may not be exact because my work is at the office.
Device 12f675
(some options WTD etc)
XTAL 4
ALL_DIGITAL True
Output GPIO.0
Main:
DelayMS 1000
Serout GPIO.0, 16572, ["This string won't come through]
Goto Main
I need to use 4800 bps 8 bit and no parity ( I think) for NMEA strings, but I can't seem to get the data through.
If I drive an LED on the output, I can see that there is some data coming through, but it must be in the wrong format.
Also, I have connected GPIO.0 and GND straight to the PC serial port pins 2 and 5.
Any help would be most appreciated
Thanks
Bookmarks