Closed Ircama closed 4 years ago
Thanks, but by just outcommenting a few lines in SimpleReceiver.cpp and adding #define IRMP_SUPPORT_NEC_PROTOCOL 1 I get
Device: attiny85
Program: 2030 bytes (24.8% Full)
And combination of IRMP and USB Keyboard is too special for this IR library and better placed at https://github.com/ArminJo/DigistumpArduino.
just outcommenting a few lines in SimpleReceiver.cpp and adding #define IRMP_SUPPORT_NEC_PROTOCOL 1
Could you please share your modified SimpleReceiver.cpp? I was not able to run it on Digispark ATtiny85. I guess you used already available switches to disable the LED feedback and the Serial Monitor output.
And combination of IRMP and USB Keyboard is too special for this IR library and better placed at https://github.com/ArminJo/DigistumpArduino.
Ok. I anyway think it would be useful to document the disableIRTimerInterrupt()
and enableIRTimerInterrupt()
functions, which allow combining IRMP with the Digispark USB Keyboard or other tools needing real-time operation.
Thanks for your suggestions.
I added MinimalReceiver example. With Digispark 1.7.0 I get now
Program: 1946 bytes (23.8% Full)
for the MinimalReceiver example for a 16MHz ATtiny85.
Support Digispark ATtiny85 with limited functions, only using 2428 bytes.
Check ATtiny85TestIR code in the examples directory.