Using analog input like digital

Technical Discussions on any InterfaceKits
eric

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.

Thanks
-Eric

fitchett
Site Admin
Posts: 263
Joined: Fri Dec 05, 2003 3:45 pm
Location: Canada
Contact:

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

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

Chester


Return to “InterfaceKits”

Who is online

Users browsing this forum: No registered users and 1 guest