I have a 14M set up to read a pot on pin 0 using ADC. The program is ...
Init: pause 500
Serout 2, N2400, (254,1) 'Clear display
Serout 2, N2400, (254,14) 'Cursor on
Read0:
Pause 30 ' To allow time for display to clear
Serout 2, N2400, (254, 128) 'Move to start of line (1,1)
Pause 30
Readadc10 0, W0 'Read ADC on pin 0
Serout 2, N2400, (W0) 'Print W0 to display 1, 1
Pause 300
Goto Read0
End
The symptoms on the LCD are .... at the lower end of the pot characters change on the LCD in the right place, but are garbage. At the high end of the pot the LCD suddenly starts putting out the sample messages and time !.
It is probably something very simple that I am doing wrong but it is driving me nuts. Thank you .... picnut
Init: pause 500
Serout 2, N2400, (254,1) 'Clear display
Serout 2, N2400, (254,14) 'Cursor on
Read0:
Pause 30 ' To allow time for display to clear
Serout 2, N2400, (254, 128) 'Move to start of line (1,1)
Pause 30
Readadc10 0, W0 'Read ADC on pin 0
Serout 2, N2400, (W0) 'Print W0 to display 1, 1
Pause 300
Goto Read0
End
The symptoms on the LCD are .... at the lower end of the pot characters change on the LCD in the right place, but are garbage. At the high end of the pot the LCD suddenly starts putting out the sample messages and time !.
It is probably something very simple that I am doing wrong but it is driving me nuts. Thank you .... picnut