Better to change values for switch cases like adding increment variable. If you use sensors or button then it requires variable. Such as int i=0; i ++; switch (i){ case 0: // do something; break ; case 1: // do another thing; break; default: // …….; i =0; break;} it was good video. Keep it up. Just need little modification.
Good day Sir 👋 How to setup code for led fast changing colors blinks with the speed of music beat or noise and automatically turn to super slow mode when there is no music or noise detected on the surroundings?
Better to change values for switch cases like adding increment variable. If you use sensors or button then it requires variable. Such as int i=0; i ++; switch (i){ case 0: // do something; break ; case 1: // do another thing; break; default: // …….; i =0; break;} it was good video. Keep it up. Just need little modification.
thank you this made the most sense about cases i really do appreciate it got it working fine!
Good day Sir 👋
How to setup code for led fast changing colors blinks with the speed of music beat or noise and automatically turn to super slow mode when there is no music or noise detected on the surroundings?
How would you change num value with different inputs
And you have no external input to change the case # like buttons
Nice tutorial
Please Show The circuit to know which pins to connect
connect the anode of the led to 220 ohms resistor and then connect it to the pin 10of the arduino and the cathode of led to the GND
thanks