Music program problem
Prettybird
Posts: 269
· I got this program off this site and noticed that there is no sound output instruction. I tried inserting but got errors. I am using a BS2P and also heard it can handle atom software. Has anyone seen this one before? I am still new. Any help would be helpful.
BS2
6K
Comments
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support
Did you look at the program? Do you know what kind of statements are used? Did you look up unfamiliar ones in the Manual?
Did you see the FREQOUT statement? What does it do? Look it up.
You'll notice that the FREQOUT statement like some others (PULSIN, PULSOUT, SERIN, SEROUT, etc.) use timing values that are dependent on the Stamp model you're using. The Stamp Manual has the conversion factors or the specific values needed for the different Stamp models. The BS2px is newer than the Manual and there's a separate addendum for the BS2px that has those values.
The Atom microcontroller was designed to plug into sockets designed for the Basic Stamp and be similar to program so as to compete with the Basic Stamp. It's not identical though and it's more a matter of "the Atom is intended to be able to handle Basic Stamp software" than the other way around
The program you showed is an old one ... I don't remember where it's kept on the Parallax website.