View Full Version : BS2p24 and BotBoard2 - a few questions

10-04-2008, 06:49 PM
Hi all, new here and new to Stamp programming, so please excuse the beginner questions.

Firstly the set-up is BS2p24 and Lynxmotion Botboard 2, linked to a MMS p.Brain-SMB and HexEngine - plus an SRF08 sensor.

First question: could anyone point me at code for generating simple sounds via the biult-in speaker on the botboard2?
Initially i'd like to generate a sound when the programme i'm running reaches certain points, then i'd like to add sound feedback to the programme i'm running with an SRF08 sensor - so it's a bit like a parking sensor.

Second question:
Can anyone help with code to assign programmes to the three SUI buttons on the botboard2 - and give me any guidance on how to use them?

many thanks in advance,

Mike Green
10-05-2008, 08:46 AM
For "simple sounds" look in the Parallax Stamp Basic Manual at the FREQOUT statement.

For buttons, look in the Manual at the BUTTON statement.

You might download the "What's a Microcontroller?" tutorial for other examples of these two functions.
Go to the main Parallax website and click on the Resources tab, then select Downloads, then Stamps in Class Downloads.

Ken Gracey
10-05-2008, 09:49 AM
Here's a great program that we produced for our discontinued Audio Amplifier AppMod. Give it a try.

Ken Gracey
Parallax, Inc.

10-05-2008, 03:29 PM
hey fellas,

Thanks for the quick replies.

Ken, i've just tried the sound effects programme - works perfectly and is just the kind of thing i was looking for and gives me something to work from - many thanks

Post Edited (plingboot) : 10/5/2008 9:38:48 AM GMT