#include int main(void) { DDRB = 0xFF; DDRC = 0x00; while(1) { if ((PINC &0b00100000)) PORTB = 0x55; else PORTB = 0xAA; } return 0; }