2011_ACTIVITY #3 - MUSICAL NOTES AND SIMPLE SONGS

2011_ACTIVITY#3- - E6 D DEBUG"Fa" CR FREQOUT 9,500,1396 F6 D DEBUG"Sol" CR FREQOUT 9,500,1568 G6 D DEBUG"La" CR FREQOUT

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
' What's a Microcontroller - DoReMiFaSolLaTiDo.bs2 ' Send an octave of half second tones using a piezoelectric speaker. ' '{$STAMP BS2} '{$PBASIC 2.5} ' 'Solfege Tone Note DEBUG "Do. ..", CR: FREQOUT 9,500,1047 ' C6 D DEBUG "Re. ..", CR: FREQOUT 9,500,1175 ' D6 D DEBUG "Mi. ..", CR: FREQOUT 9,500,1319
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ' E6 D DEBUG "Fa. ..", CR: FREQOUT 9,500,1396 ' F6 D DEBUG "Sol. .", CR: FREQOUT 9,500,1568 ' G6 D DEBUG "La. ..", CR: FREQOUT 9,500,1760 ' A6 D DEBUG "Ti. ..", CR: FREQOUT 9,500,1976 ' B6 D DEBUG "Do. ..", CR: FREQOUT 9,500,2093 ' C7 D END...
View Full Document

This note was uploaded on 01/10/2011 for the course EE 1244 taught by Professor Drera during the Fall '10 term at Conestoga.

Ask a homework question - tutors are online