HW 7 – A Simple Instrument

Foreword:

This is a simple circuit with three buttons and a buzzer/speaker. Each button plays a different note and holds the note for as long as you hold the button. All the notes are really just different octaves of A so you will never be out of scale! 

Code:

Schematic:

 

Leave a Reply

Your email address will not be published. Required fields are marked *