Hello, i am trying to make a music machine with my Arduino mega,2 pots,1 rotary encoder, and 3 buzzers.
i need to read from one potentiometer and set the interval of beeps, then i need to read from the other potentiometer and set the beep frequency , and then finally i need t set witch beeper is being set. and when you change the buzzer i want the buzzer you set to stay that way. The problem is that if all three buzzers have different intervals, i need the delays to not interfere. ![]()
See Using millis() for timing. A beginners guide, Several things at the same time and the BlinkWithoutDelay example in the IDE
Thanks, i will see the examples