Author Topic: Mixing V-USB with IRremote  (Read 2833 times)


  • Newbie
  • *
  • Posts: 5
Mixing V-USB with IRremote
« on: June 06, 2013, 01:12:53 pm »
I adjusted IRremote to work on the Digispark and with configurable protocol support (I only need one type of remote decoder) its plenty small to fit next to V-USB.

But when I enable both at the same time, the LED doesn't blink on incoming IR pulses and there is no USB device detected.
IRremote runs at Timer1 every 50us. I gather that V-USB runs at one of the pin interrupts and as such should not break the Timer1 interrupt.
Even if I do not manage to run the updateUSB function fast enough (it should be in the main loop with or without 1 ms delays) it still won't work.

Do I miss something to make both work at the same time?