#include int main(void) { ddrb = ddrb & 0b11011111; ddrc = ddrb | 0b10000000; while (1) { if(pinb & 0b00100000) portc |= 0b10000000; else portc &= 0b01111111; } return 0; }