#include int main(){ DDRB=0x00; DDRD=0xff; PINB=0xff; while(1)PORTD=PINB; // PORTD=0xff; }