Almost, but not quite. You need to do something with MCUCR as well. You should read paragraph 11.2.3 on page 69 of the data sheet to find out more. John Andrew wrote: > Hi > > How does one tri-state all the inputs? > > is this correct? > > PORTD = 0x00; > DDRD = 0xFF; > > Andy >