mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-05-04 15:20:16 +00:00
time
This commit is contained in:
parent
e8e2cd60c2
commit
5efa3d3ba5
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user