
Originally Posted by
davewanna
Running on 10MHz, 5V regulated, smoothing caps, on a breadboard.
That would be my first suspect right there.
Other than that, forget about everything else that you may/may not have going on in your program.
Write a small routine to display the button input status on the LCD and NOTHING ELSE!
And use pull ups.
Code:
but var portd.0 : input but
Start:
lcdout $fe , $80 , "Button="
if but = 1 then
lcdout $fe , $87 , "On "
else
lcdout $fe , $87 , "Off"
endif
goto start
That should hook you up with all the info you need.
Bookmarks