#include int main(void) { unsigned char temp; ddrb = 0x00; ddrc = 0xff; while(1) { temp = pinb ; portc = temp ; } return 0; }