Hi,
Sorry I had forgotten these details ![]()
First, I'm using IRemote with an Arduino Uno. Why having given names ? Simple, at the end I will input the pin numer with my remote but I have forgotten to change it in the pinMode()...
And for the result, it's simple. Before writing this code, I used IRemote to create an Excel file with all the equivalents for my TV Remote (so the + is the Program+, the - is the Program-, the Power is the Power button and the off is a red button but actually I don't know its real utility), so it's not random, it's what I got, and I have three numbers each time because depending of if you keep the button pressed or not it will send a different value.
And if it was not clear enough, everything works except the LED which is either off or on, but can't fade when I keep the P- button pressed - or P+ -...