hi.
I just used the below code on a pic18f4550 with max232 chip, running a 20mhz crystal, and i am getting no communication at all in either direction
I have no clue what could be wrong. i tried anouther brand new ic, but to no avail.
I also read the pbp manual and couldn't find the answer there.
It would be very kewl to get this working.
Thanks.
Device = 18F4550
Xtal 20
DEFINE HSER_BAUD 9600
TRISB.6 = 0
TRISB.7 = 1
DEFINE HSER_ CLROERR 1
datain var Byte
main:
HSerIn [datain]
HSerOut [datain]
GoTo main
End
Bookmarks