28123 Parallax Inc, 28123 Datasheet - Page 264

TEXT WHAT'S A MICROCONTROLLER

28123

Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28123

Style
Book
Title
What's a Microcontroller?
Contents
Whats a Microcontroller? Text
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
Lead Free Status / RoHS Status
Not applicable / Not applicable
Your Turn – Different Tunes
RTTTL_File
RTTTL_File
RTTTL_File
RTTTL_File
RTTTL_File
Constant and variable declarations
DATA
READ
IF…ELSE…ENDIF
DO…LOOP
Subroutines with
FOR…NEXT
LOOKUP
The
SELECT…CASE
Try replacing the
with each of the five different music files below.
Run MicroMusicWithRTTTL.bs2 to test each RTTTL file.
Only one
new
FREQOUT
declarations
commands
RTTTL_File DATA
and
both with and without
loops
DATA
DATA
DATA
DATA
DATA
RTTTL_File DATA
LOOKDOWN
and
blocks
GOSUB
PAUSE
"TwinkleTwinkle:d=4,o=7,b=120:c,c,g,g,a,a,2g,f,",
"f,e,e,d,d,2c,g,g,f,f,e,e,2d,g,g,f,f,e,e,2d,c,c,",
"g,g,a,a,2g,f,f,e,e,d,d,1c"
"FrereJacques:d=4,o=7,b=125:c,d,e,c,c,d,e,c,e,f",
",2g,e,f,2g,8g,8a,8g,8f,e,c,8g,8a,8g,8f,e,c,c,g6",
",2c,c,g6,2c"
"Beethoven5:d=8,o=7,b=125:g,g,g,2d#,p,f,f,f,2d"
"ForHe'sAJollyGoodFellow:d=4,o=7,b=320:c,2e,e,e,",
"d,e,2f.,2e,e,2d,d,d,c,d,2e.,2c,d,2e,e,e,d,e,2f,",
"g,2a,a,g,g,g,2f,d,2c"
"TakeMeOutToTheBallgame:d=4,o=7,b=225:2c6,c,a6,",
"g6,e6,2g.6,2d6,p,2c6,c,a6,g6,e6,2g.6,g6,p,p,a6",
",g#6,a6,e6,f6,g6,a6,p,f6,2d6,p,2a6,a6,a6,b6,c,",
"d,b6,a6,g6"
RTTTL_File DATA
commands
, labels, and
commands
directive.
directive at a time! Make sure to replace, not add, your
WHILE
RETURN
and
directive in MicroMusicWithRTTTL.bs2
UNTIL

Related parts for 28123