user30773: I need to play sound on 10 piezos at once. How to do that without delay() function.

user30002: Use the Timer library.
You can attach up to 10 events to each Timer object you declare. That will suit your use case.

30773: <p>I need to play sound on 10 piezos at once. How to do that without <code>delay()</code> function.</p>
 30002: <p>Use the <a href="http://playground.arduino.cc/Code/Timer" rel="nofollow noreferrer">Timer library</a>.</p>

<p>You can attach up to 10 events to each <code>Timer</code> object you declare. That will suit your use case.</p>
