Equip your Genius
Welcome to the Parallax Discussion Forums, sign-up to participate.
Learn with BlocklyProp
- Announcement about May 10th, 2018 update and your password.
BS2 PB2.5 Tones
Does anybody know where I can find a list of the tone codes? There are a few in some documents related to some specific project. I would like a complete list to work from.
By "tone code" do you mean the frequency for each musical note?
The FREQOUT command uses Hertz (Hz) for the frequency and milliseconds (ms) for the duration of the tone.
I think this is what you are looking for:
Thanks Genetix Wikipedia had a good list of frequencies. I hope my home work board will last until I find the "tone" I'm looking for. I think I have run over eight hundred programs through this thing. A super test bed.
I believe the EEPROM that the BS2 uses is rated for 1,000,000 writes so you are no where near wearing it out.
Have you looked at Chapter 8 in What's a Microcontroller since it shows how to make sound and music on the BS2.
Also look at these tutorials which all deal with music on the BS2: