i can't comment on the SOUND command but if it's like PWM, sometimes the pin return to Input, sometimes to Output state so...
As producing sound is not a big job, i suggest you to build a few line routine for that. That way, you'll be able to reach the exact resonnance frequency and get the maximum SPL of your piezo.
Don't worry, the suggested method is safe.
Bookmarks