any tips on how to cod an RGB to allow the user to chose the color and how many times it blinks?
There is an example in the ide to get you started
File>examples>05control>switchcase2
And the tutorial to go with the example
https://wiki-content.arduino.cc/en/Tutorial/BuiltInExamples/SwitchCase2
So many ways to input color and blinks...
- Serial comms
- buttons
- encoder
- joystick
- any other way you can imagine.
Chose one.
Sure. 43. 75.5. It depends. Red, but maybe green.
Give us something to work with, but first read this(don't skip over it this time):
What type of RGB LED (ie. "smart"/WS281x or 3-channel)?
What type of input are you wanting to use (ie., phone/IOT control or manual pushbuttons/dials, etc)?