fwachsmuth / rooDialino

A little AVR project to allow the rooDial to control the volume level of an amp or DAC by sending IR signals
0 stars 0 forks source link

Omit use of delays #1

Open fwachsmuth opened 3 years ago

fwachsmuth commented 3 years ago

Replace delay with some non-blocking logic – check if a certain amount of time has passed since the interrupt was last called, and if enough time has passed, actually handle the interrupt. https://thewanderingengineer.com/2014/08/11/arduino-pin-change-interrupts/#comment-1592 looks handy