You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you mean specifically by "SAMD21 M0 board". We have tested the code on Arduino Zero, Arduino M0 Pro, Adafruit Feather M0 Basic, Adafruit Feather M0 BLE, Adafruit Feather M0 Express, Adafruit Circuit Playground Express all based on the SAMD21 processor and none of them needed the modification that you suggested. By the way these were all using the latest Arduino.cc IDE. What were you using to compile?
IRLibDecodeBase uses Serial.print statements throughout to log information to the console.
In the SAMD21 M0 board, the method for printing to the USB console is exposed via SerialUSB.print.
As a result of this, when I tested any of the decode examples (using decoder.dumpResults) the arduino became unresponsive.
I found a quick fix by adding
#define Serial SERIAL_PORT_USBVIRTUAL
to the IRLibDecodeBase.cpp file, which makes all the print statements work OK.This might need to be added to other files wrapped in an
#if
The text was updated successfully, but these errors were encountered: