tiogate wrote:
>Could anyone please post a little working C code for the ADC on
>LPC2124 (or equivalent)? I'm having a hard time reading the data
>register, or interpreting it: the 10 bits where the result of the
>conversion was supposed to be are all ones, all the time, no matter
>what tension is applied to the pin.
>
>
>Thank you.
>
>
>Fernando
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
Ups, sorry, no intention in sending a message in portuguese to the
mailing list.
Just mentioning that if there is a voltage above the working voltage in
one of the ADC pins there is no assurance that the values read are valid.
--
Luciano Almeida Number Seven
lalmeida@... Edificio OneWorld
Phone: +351 261860453 Urb. Belo Horizonte
Fax: +351 261860476 2655-241 Ericeira
http://www.nseven.com Portugal