Some way to get a 2x16 lcd to display the same thing and then have it change?
hercules
Posts: 4
Currently my code looks like
The problem is that the lcd flashes it really fast and the text does not look solid if there is not a pause, and when there is you either have to hold down the switch or press it at the right time, which is not really what I'm going for.
Any help is appreciated! Thanks
' {$STAMP BS2} ' {$PBASIC 2.5} TxPin CON 1 n9600 CON 84 HIGH TxPin PAUSE 100 DO IF IN3 = 1 THEN SEROUT TxPin, n9600, [12, 17] SEROUT TxPin, n9600, ["on"] ELSE SEROUT TxPin, n9600, [12, 17] SEROUT TxPin, n9600, ["off"] ENDIF PAUSE 500 LOOP
The problem is that the lcd flashes it really fast and the text does not look solid if there is not a pause, and when there is you either have to hold down the switch or press it at the right time, which is not really what I'm going for.
Any help is appreciated! Thanks
Comments
SEROUT TxPin, n9600, [128, "on "] ' Position to row 0 column 0 and write text