SerIn2 PORTC.7, 84, 100, loop, [rtcday] 'put day byte in rtcday
I get nothing.
I've tried HSERIN also to no avail.
solution is simple. You're using 4MHZ crystal to run 9600 baud.. it will not working properly. You must use higher speed crystal (20Mhz) or lowest baudrate (2400 baud).
if you're using 20MHZ crystal don't forget in add
DEFINE OSC 20
and program your chip to HS oscillator mode.
regards
P.S. HSERIN work as inverted signal, must use transistor or MAX232 to invert signal.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks