The PulseTimer returns HIGH during the defined time when a rising edge in the input is generated. The OnDelayTimer returns HIGH when the input is HIGH during the defined time and until the input falls ...
license: Public Domain - please use this code however you'd like. It's provided as a learning tool. unsigned char OCR1AL_reg = 0x88; //output compare low 8 bits for Counter 1 unsigned char OCR1AH_reg ...