I have an 18X running an LCD
if I program
OutputByte = "W"
gosub WriteToLCD
then my write routine puts a W on the screen, no problems
I am using the picaxe Serial Terminal to send characters to pin 2 on the 18X to learn about serial to LCD
However if , under interrupt I use
serin 2, N2400, OutputByte
gosub WritetoLCD
W 0101(HB) 0111(LB) gives me U (umlat) 1111(HB) 0101(LB)
G 0100 0111 gives the ohm sign 1111 0100
7 0011 0111 gives infinity 1111 0011
There is almost a reversal ( but not quite) of the upper and lower bits
What is it I am missing?
if I program
OutputByte = "W"
gosub WriteToLCD
then my write routine puts a W on the screen, no problems
I am using the picaxe Serial Terminal to send characters to pin 2 on the 18X to learn about serial to LCD
However if , under interrupt I use
serin 2, N2400, OutputByte
gosub WritetoLCD
W 0101(HB) 0111(LB) gives me U (umlat) 1111(HB) 0101(LB)
G 0100 0111 gives the ohm sign 1111 0100
7 0011 0111 gives infinity 1111 0011
There is almost a reversal ( but not quite) of the upper and lower bits
What is it I am missing?