28122 Parallax Inc, 28122 Datasheet - Page 260
28122
Manufacturer Part Number
28122
Description
KIT WHAT'S A MICRO:PARTS ONLY
Manufacturer
Parallax Inc
Datasheet
1.28123.pdf
(340 pages)
Specifications of 28122
Accessory Type
Parts Kit
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 260 of 340
- Download datasheet (6Mb)
' -----[ EEPROM Data ]-----------------------------------------------------
' -----[ Initialization ]--------------------------------------------------
' -----[ Program Code ]----------------------------------------------------
noteOctave
duration
tempo
default_d
default_o
default_b
RTTTL_File
Done
Notes
Octave8
counter = 0
GOSUB FindEquals
GOSUB ProcessDuration
GOSUB FindEquals
GOSUB ProcessOctave
GOSUB FindEquals
GOSUB GetTempo
DO UNTIL char = "q"
LOOP
END
GOSUB ProcessDuration
GOSUB ProcessNote
GOSUB CheckForDot
GOSUB ProcessOctave
GOSUB PlayNote
VAR
VAR
VAR
VAR
VAR
VAR
DATA
DATA
DATA
DATA
Word
Word
Word
Byte
Byte
Word
"Reveille:d=4,o=7,b=140:8g6,8c,16e,16c,8g6,8e,",
"8c,16e,16c,8g6,8e,8c,16e,16c,8a6,8c,e,8c,8g6,",
"8c,16e,16c,8g6,8e,8c,16e,16c,8g6,8e,8c,16e,",
"16c,8g6,8e,c,p,8e,8e,8e,8e,g,8e,8c,8e,8c,8e,8c,",
"e,8c,8e,8e,8e,8e,8e,g,8e,8c,8e,8c,8g6,8g6,c."
",q,"
Word 0,
Word 4186, Word 4435, Word 4699, Word 4978,
Word 5274, Word 5588, Word 5920, Word 6272,
Word 6645
"p",
"c",
"e",
"#"
Word 3520, Word 3729, Word 3951,
"a",
"#",
"f",
' Stores note octave.
' Stores note duration.
' Stores tempo.
' Stores default duration.
' Stores default octave.
' Stores default beats/min.
' Initialize counter.
' Find first '=' in file.
' Get default duration.
' Find next '='.
' Get default octave.
' Find last '='.
' Get default tempo.
' Loop until 'q' in DATA.
' Get note duration.
' Get index value of note.
' If dot, 3/2 duration.
' Get octave.
' Get freq, play note, next.
' End of main loop.
' End of program.
"#",
"d",
"#",
"b",
"#",
"g",
Related parts for 28122
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: