Hello,
My project code (Arduino Nano and Arduino Every) is successfully compiled by PlatformIO (I get the “SUCCESS”), but there are problems identified in the “problems” tab: see picture herebelow:
The code comes from the Arduino IDE (where it is OK) and it seems that C++ refuses the comparison :
if(IrReceiver.decodedIRData.decodedRawData==Bouton0)
whereas it is accepted in the ArduinoIDE.
“Button0 is defined as follow:
char Bouton1[9]="BA45FF00";
and “IrReceiver.decodedIRData.decodedRawData” is the result of the Infrared code retrned by the IRremote librairy.
It looks like “IrReceiver.decodedIRData.decodedRawData” is an unsigned_int for C++: how could it be provided that an IRcode from a remote can’t be an integer (unless I am wrong) ?
I suppose that the “Button0” should be defined as an hexadecimal constant and not as a string of chars, what is the correct syntax ?
Thank you for your reply,
