I'd like some help please with programming code for a keyfob 4 button remote and a paired 315MHZ receiver unit.
I am using an Arduino Uno and the above devices along with a 4 pin common anode RGB led.
While I am getting to grips with the very basics I'd like some help please with the following:
I would like to have a set up where the press of button A on the remote will turn the LED on RED, the press of button B will change it to Blue, Button C will change it to a basic chase pattern RED - GREEN - BLUE and button D will turn it off.
Could someone point me in the right direction of an example code for this or give me some hints and tips as to how to achive this please.
I can set up the RGB LED and code it to flash three colours using the PWM pins 11, 10 and 9 as in one of the LED examples.
By changing the code I can change the colours and timings of the flashing / blinking.
I don't have a clue how to set up the remote side or how to code for different button presses to switch programs for different functions.
Thank you for your time and any help advice you can give.