Happy Birthday on Orion Board
- Lucy Emmett
- May 6, 2018
- 1 min read
Updated: May 7, 2018
This is an awesome project, although the rhythm is a not quite right it is so cool to play the tune to your friend for their birthday rather than singing it xD. As always Makeblock is proving hard to work with because it won't let me use the built in tone() function, so i had to code my own! To get it to sound right you will have to fiddle around with some of the numbers.
Unfortunately this was my last project with the Orion Board becuase the micro USB port broke off, so anytime i power the board it can only play this tune because i can't program it to do anything else. I would recommend boards that don't have a micro USB input because they tend to come off the board more easily than other ports.
This is the code:

Note: I am sure by changing the pin of the buzzer and the include of Orion to including Auriga, this would work for the Auriga board, that is why this is in Auriga catagory.
Comments