mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-06-27 20:59:37 +00:00
time
This commit is contained in:
@ -204,7 +204,7 @@ bool TimerISRHandler(struct repeating_timer *t){
|
|||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
add_repeating_timer_us(8, TimerISRHandler, NULL, &timer);
|
add_repeating_timer_us(6, TimerISRHandler, NULL, &timer);
|
||||||
|
|
||||||
// IR_Timer.setOverflow(carrierFrec * 2, HERTZ_FORMAT);
|
// IR_Timer.setOverflow(carrierFrec * 2, HERTZ_FORMAT);
|
||||||
// IR_Timer.attachInterrupt(1, EncoderISR);
|
// IR_Timer.attachInterrupt(1, EncoderISR);
|
||||||
|
Reference in New Issue
Block a user