Using analog input like digital

Technical Discussions on any InterfaceKits

Using analog input like digital

Postby eric » Wed Jan 21, 2009 4:30 pm

Hey everybody
I'm wondering if I can use the analog inputs in the same way I would use the digital inputs?
Reason being I'm working on a project that requires use of one digital input and one digital output per device, this way the computer is aware of the state.

But I would like some extra inputs for push buttons, and was thinking would it be possible to use the analog as triggers the same way I would with the digital.


Site Admin
Posts: 262
Joined: Fri Dec 05, 2003 3:45 pm
Location: Canada

Postby fitchett » Thu Jan 22, 2009 3:18 pm

You can do this. Just attach a ~10K resistor between VCC and the analog input.


Return to “InterfaceKits”

Who is online

Users browsing this forum: No registered users and 1 guest