Hello,
I am fairly new at Arduino programming and would like to make a controller the will have 3 effects options.
I have built similar controllers already and use it for a single effect, but would like to incorporate all 3 using a selector switch to choose the effect to run.
The effects are fairly basic, 1- flicker (flame flicker) 2 - Random fade up and down (erratic power) 3 - Strobe.
The controller has a 3 position switch for program selection and 2 pots to vary each effect. The pots will adjust the flicker rate and brightness in mode 1, The frequency of the power disturbance in mode 2 and the on time and off time in mode 3.
I am using the Arduino Pro, the outputs are on the 6 PWM outputs, the pots or on analog inputs 0 and 1 with the selector switch input on 0,1 and 2. The PWM outs are triggering FETs to power the LEDs.
As I said I can run the program as a single effect controller but do not know the best way to combine all three programs together.
Any help would be greatly appreciated.