Class 8: Electronic Output Devices


For today's assignment, we had to choose an output device, so I chose the buzzer. I thought that I could do sonething cool with it. That being said, I coded the song "Happy Birthday To You" for the buzzer to play.

Here it is! (you might have to open in another tab to hear)

video

Regarding the code, I searched up the correct notes and tones for the happy birthday song so that I can use it in the code.

Here's the code I used. code code

Click Here For Homepage link.