// mega88, 8 MHz #include #include #define setbit(port,bit) ((port) |= (1< SERVOCOUNT) ind = 0; } //------------------------------ ISR (TIMER1_COMPA_vect) { clrbit(port,outpin); // konec pulsu } //============================== int main (void) { // config timer1, mode=15, fast pwm, top=ICR1, presc=8 TCCR1A = (1<