View Single Post
  #2   Spotlight this post!  
Unread 24-02-2005, 12:48
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Inversion of the digital IO pins

Quote:
Originally Posted by ConKbot of Doom
I was hoping to use an external EEPROM to store data for our autonomous routine, it uses an I2C interface, but I have code written to bit-bang, so that is ok, but here is my question. I know the pins are inverted as an input, since when they are low, you get a 1 in software, and when they are high, you get a 0. But are they inverted as outputs too?

Thanks
They're not inverted in my experience, as either input or output. You might be thinking of the fact that they're internally pulled up to 5 volts, so a switch to ground reads as a logic 1 when it's open and a logic 0 when it's closed.