Hello, so i have been learning Arduino for a week now and i was just playing with some of the basic exapmles.
I tried to create fading RGB LED which cycles through RGB colors.
At the start of the program the LED is OFF.... It turns ON and cycle when i push a button...
I created a seperate function for the Potentiometer readings... the Value should define the Delay which i use in the Loop function....
Now when i push the button it works it takes the Delay value which was present. but when i try and turn the pot when the loop is running it doesnt change the delay and the printed ( in the monitor window) value is always the value taken when i pushed the button...
The code is attached.
Thank you
RGB_cbf_v3.ino (1.25 KB)