#include int main(void) { DDRB = DDRB & 0b11011111; DDRC = DDRB | 0b10000000; while (1) { if(PINB & 0b00100000) PORTC |= 0b10000000; else PORTC &= 0b01111111; } return 0; }