DSPRelated.com
Forums

Use Button at ADC???

Started by wpethe January 16, 2002
Hi,

has anybody ever used the ADC to drive a button?

Now we are going to use 4 ADC ports to connect them with buttons.
Has anybody got an Example?

Thanks

w. Pethe

PS: Then I can use some GPIO Pins for output.



Why not? Use a pullup resistor and ground with a button press. That should
be easy to do.

-----Original Message-----
From: wpethe [mailto:]
Sent: Wednesday, January 16, 2002 10:36 AM
To:
Subject: [motoroladsp] Use Button at ADC??? Hi,

has anybody ever used the ADC to drive a button?

Now we are going to use 4 ADC ports to connect them with buttons.
Has anybody got an Example?

Thanks

w. Pethe

PS: Then I can use some GPIO Pins for output. <http://rd.yahoo.com/M!5002.1818248.3328688.1261774/D=egroupweb/S057718
55:HM/A7665/R=0/*http://ads.x10.com/?bHlhaG9vbW9uc3RlcjcuZGF011205919%
3eM!5002.1818248.3328688.1261774/D=egroupweb/S05771855:HM/A7665/R=1 <http://us.adserver.yahoo.com/l?M!5002.1818248.3328688.1261774/D=egroupmai
l/S05771855:HM/A7665/randQ8922505>

_____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/motoroladsp
<http://www.yahoogroups.com/group/motoroladsp>

More Groups: http://www.dsprelated.com/groups.php3
<http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/> .


> has anybody ever used the ADC to drive a button?
>
> Now we are going to use 4 ADC ports to connect them with buttons.
> Has anybody got an Example?

You might try looking at the FAQ's regarding the DSP56800's ADC unit for
ideas. Simply goto:

http://e-www.motorola.com/cgi-bin/faq.cgi

Simply select DSP56800 under the 16-bit path DSP's and then do a search for
the category "A/D Converter Module". The FAQ's contain several examples of
using the ADC in its different modes.

That might help,

Ron
--
TOP PICK HandHeld Computing - issue 4.5
"The best overall development tool for the Palm OS"

Metrowerks, maker of CodeWarrior - "Software Starts Here"
Ron Liechty - - http://www.metrowerks.com