[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Problem reading from port (ADC)

From: Matthew Smith
Subject: Re: [avr-gcc-list] Problem reading from port (ADC)
Date: Mon, 29 Aug 2005 19:31:00 +0930
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Viktor Lopatin wrote:

> It is necessary to set DDRA=0; PORTA=0xff to tune up the port A for input 
> data.
> Value of inputs of port takes from register PINA. The external storage
> mast be off.

Thanks to Viktor and Volkmar for pointing out that I was trying to read
the wrong register!



Matthew Smith
Kadina Business Consultancy, South Australia
Work: <http://www.kbc.net.au> Personal: <http://www.mss.cx>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]