Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).
|
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. Yahoo! Groups Sponsor ADVERTISEMENT <http://rd.yahoo.com/M=215002.1818248.3328688.1261774/D=egroupweb/S=17057718< br /> 55:HM/A=847665/R=0/*http://ads.x10.com/?bHlhaG9vbW9uc3RlcjcuZGF0=1011205919% 3eM=215002.1818248.3328688.1261774/D=egroupweb/S=1705771855:HM/A=847665/R=1 <http://us.adserver.yahoo.com/l?M=215002.1818248.3328688.1261774/D=egroupmai< br /> l/S=1705771855:HM/A=847665/rand=518922505> _____________________________________ /groups.php3 <http://www.dsprelated.com/groups.php3 > . |
|
> 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 |