Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] ADC Problem

2005-03-07 by Luciano Almeida

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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.