Hi guys, I there a way to display Letters, when using lookup / pulsout. Rather than using a Serout command?
I know of using -
serout OLED, baud,(254,131,"",#hour,":",#minute,":",#second,"AM")
But what I am wondering. Is there a way to place a Letter in the lookup variable. So that variables data can be changed and then pulsed to the display.
The reason being. Is that I am relying on the Time variable having higher accuracy. And the serial commands effect its accuracy to much.
bintoascii HOUR, D1,D1,D2
bintoascii MINUTE, D3,D3,D4
bintoascii SECOND, D5,D5,D6
bintoascii MERIDIAN, D7,D7,D8
for b3= 0 to 10
lookup b3,(D1,D2,":",D3,D4,":",D5,D6,$20,D7,D8),send_data
GOSUB Display
next b3
Thanks
I know of using -
serout OLED, baud,(254,131,"",#hour,":",#minute,":",#second,"AM")
But what I am wondering. Is there a way to place a Letter in the lookup variable. So that variables data can be changed and then pulsed to the display.
The reason being. Is that I am relying on the Time variable having higher accuracy. And the serial commands effect its accuracy to much.
bintoascii HOUR, D1,D1,D2
bintoascii MINUTE, D3,D3,D4
bintoascii SECOND, D5,D5,D6
bintoascii MERIDIAN, D7,D7,D8
for b3= 0 to 10
lookup b3,(D1,D2,":",D3,D4,":",D5,D6,$20,D7,D8),send_data
GOSUB Display
next b3
Thanks
Last edited: