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!

Cheers

M

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


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to