View Single Post
Old 06-21-2010, 10:33 PM   #178 (permalink)
mpgx2
EcoModding Lurker
 
Join Date: May 2010
Location: Sydney Australia
Posts: 54
Thanks: 0
Thanked 2 Times in 2 Posts
Cool button detection..

Quote:
Originally Posted by dcb View Post
lol, how do you feel a button in software, for peanuts?
Simply check the voltage on the analog-in port on the arduino.

The buttons are wired to the analog in ports.

That's how you can check if the button is being pushed or not.

On a touch screen display, you read the coordinates of the
press.

On that psp display, you could use existing buttons and not
connect to the touch-screen circuitry. That way there wouldn't
be any major overhaul of the software necessary. But it's
really a matter of personal preference how it would be done.
  Reply With Quote