28122 Parallax Inc, 28122 Datasheet - Page 262
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: 262 of 340
- Download datasheet (6Mb)
' -----[ Subroutine - Find Index of Note ]--------------------------------
' -----[ Subroutine - Determine Note Duration ]---------------------------
ProcessNote:
ProcessDuration:
RETURN
READ RTTTL_File + counter, char
SELECT char
ENDSELECT
RETURN
READ RTTTL_File + counter, char
SELECT char
ENDSELECT
IF default_d <> 0 THEN
ELSE
CASE "p"
CASE "a" TO "g"
CASE "1", "2", "3", "4", "8"
duration = 60000/default_b/duration*3
default_d = duration
index = 0
counter = counter + 1
FOR index = 1 TO 12
NEXT
counter = counter + 1
READ RTTTL_File + counter, char
SELECT char
ENDSELECT
duration = char - 48
counter = counter + 1
READ RTTTL_File + counter, char
SELECT char
ENDSELECT
CASE ELSE
duration = default_d
READ Notes + index, noteLetter
IF noteLetter = char THEN EXIT
CASE "#"
CASE "6", "2"
index = index + 1
counter = counter + 1
duration = duration * 10 + char - 48
counter = counter + 1
' If 0, then set default_o.
' Set index value for lookup
' of note frequency based on
' note character. If 'p',
' index is 0.
' read character values in
' DATA table and find match.
' Record index value when
' match is found.
' char is a sharp (#), add
' 1 to the index value to
' increase the index (and
' frequency) by 1 notch.
' As with other subroutines,
' increment counter for each
' character that is processed.
' Check to see if characters
' form 1, 2, 4, 8, 16 or 32.
' If yes, then convert from
' ASCII character to a value
' by subtracting 48. In the
' case of 16 or 32, multiply
' by 10 and add the next
' digit to the ones column.
' If no duration, use
' use default.
' If default_d not defined
' (if default_d = 0), then
' set default_d = to the
' duration from the d=#.
If 'a' to 'g',
If next
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: