I'm trying all morning and still no good results.
I tried your configs Robert and they do the same things as mine, at least I could't see any change.
I had only to remove ANSELD = 0 because nothing worked with that.
My serial lcd is connected to portd.1 and the serial TX - RX to portsD.2-3 and with ANSELD = 0 they don't work.
My code gives only zeros to the variables and I can't understand why !!
The code is very simple and straightforward and should work.
I also changed the PIC (just in case...) and I also replaced 18F46K22 with 18F4520 and the same.
LCD works OK, I can TX any byte I want and it's accepted by the receiver, but still I cannot read anything from the receiver.
I'm putting a 10 years old BS2sx with the sample code and everything works fine.
Anyone else knows what do I have to do to receive a hex string like this : ????
$FE,$FE,$E0,$80,$03,$FR(1),$FR(2),$FR(3),$FR(4),$F R(5),$FD
and i only need to read FR(1) to FR(5) ??
Any help would be very much appreciated
Fanis
Bookmarks