I need to play sound on 10 piezos at once. How to do that without delay() function.
Asked
Active
Viewed 183 times
2
Code Gorilla
- 5,652
- 1
- 17
- 31
Lowder
- 27
- 5
1 Answers
1
Use the Timer library.
You can attach up to 10 events to each Timer object you declare. That will suit your use case.
Enric Blanco
- 2,124
- 1
- 14
- 25