I was trying to create a decoder for my remote control, but when I insert the remote control button code, the "unable to find numeric literal operator 'operator""B3DB58C'" error appears.
B3DB58C is the code of the button
#include "IRremote.h"
int receiver = 3;
IRrecv irrecv(receiver); //instance of 'irrecv'
decode_results results; //instance of 'decode_results'
void setup() {
Serial.begin(9600);
irrecv.enableIRIn();
}
void loop() {
}
void translateIR()
{
switch (results.value)
{
case C89F61C8: Serial.println("OFF"); break; //this does not work
case 1B3DB58C: Serial.println("ON"); //same
default:
Serial.println("OTHER BUTTON");
}// End Case
} //end void
I checked many times but it seems OK. did I missed something?
I attached an image of the error