#include int main(void) { DDRB = DDRB & ~(1<<5); DDRC = DDRB | (1<<7); while (1) { if(PINB & (1<<5)) PORTC = PORTC | (1<<7); else PORTC = PORTC & ~(1<<7); } return 0; }