Unformatted text preview: NEXT It goes to the “number index” subroutine according to input 2. Explain how to add a menu item to TerminalOperatedSensorArray.bs2 that gives the operator the option of making a piezospeaker beep. a) Add “speaker” subroutine name to “ON request GOSUB….” b) Add “5) Speaker” to “display menu” c) Add subroutine of “speaker” FREQOUT pin#, 1000, 2000 RETURN 3. Describe the process you would use (keeping the individual testing rule in mind) to add a piezospeaker circuit to your project. a. Build the piezospeaker circuit on the breadboard. b. Run TestPiezoWithFreqout.bs2 from Chapter 8 to test the speaker. c. Integrate the piezospeaker into the program....
View Full Document
- Fall '07
- Subroutine, #, Return statement, Imperative programming, Identifier, FREQOUT