Re: Pullup resistors (Was: Commodore joystick ports)

From: Marko Mäkelä (msmakela_at_gmail.com)
Date: 2007-05-09 22:15:15

On Wed, May 09, 2007 at 12:07:42PM -0500, Jim Brain wrote:
> Can you point to some documentation, as I just checked the AVR 
> datasheet, and PIN is read-only:
[...]
> PORT=0,DDR=0 is input, HiZ
> PORT=1,DDR=0 is input, pullup
> PORT=X, DDR=1, X is output.
> 
> Are you talking about a different uC, or the some MOS part?

Sorry, I was writing from memory.  I haven't done any AVR programming
for maybe a year.  You're right and I was wrong.  I should have
consulted some AVR data sheet first.

	Marko

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.