Using switch to control Piezo speaker with Arduino

In this project, we will learn how to use a speaker (peizo sounder) and use switch button to change the pitch of the sound. Sorry about this one, you might find it a bit difficult to digest at first, and I didn’t realise it’s actually harder than it sounds. Anyway, spend some time on the code, let me know if you have problem understanding the code, or you have a better solution. [caption id="attachment_4233 ...

Read more
Scroll to top