#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; }