Hi,
I´m trying to set upp the harware serial port to send ASCII to a serial LCD display.
I´m using a 18F6585 running at 10MHz.
Can anyone help with the setup?
I have tried the following:
DEFINE HSER_RCSTA 90h
DEFINE HSER_TXSTA 20h
DEFINE HSER_BAUD 19200
DEFINE OSC 10
I use a MAX232 as a RS232 driver.
When I connect the pic to a PC and use HyperTerm I can get something out from the pic but it look like garbage.
Almost as the pic is transmitting at wrong speed.
/JKBPower
Bookmarks