27220 Parallax Inc, 27220 Datasheet - Page 123

BOOK STAMPWORKS

27220

Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet

Specifications of 27220

Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
G
Gs
A
As
B
N1
N2
N3
N4
N8
TAdj
FAdj
' -----[ Variables ]-------------------------------------------------------
idx
note1
note2
onTime
offTime
oct1
oct2
eePntr
digit
clickDly
' -----[ EEPROM Data ]-----------------------------------------------------
Phone1
Phone2
' -----[ Program Code ]----------------------------------------------------
Main:
Dial_Tone:
DEBUG CLS,
DEBUG "Dial tone", CR
onTime = 35 */ TAdj
note1 = 35 */ FAdj
FREQOUT Speaker, onTime, note1
PAUSE 100
onTime = 2000 */ TAdj
note1 = 350 */ FAdj
"BASIC Stamp Sound FX Demo", CR, CR
CON
CON
CON
CON
CON
CON
CON
CON
CON
CON
CON
CON
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
DATA
DATA
49
52
55
58
62
500
N1/2
N1/3
N1/4
N1/8
$100
$100
Word
Word
Word
Word
Word
Nib
Nib
Byte
Byte
Word
"123-555-1212", 0
"916-624-8333", 0
' ideal is 48.999
' ideal is 51.913
' ideal is 55.000
' ideal is 58.270
' ideal is 61.735
' whole note duration
' half note
' third note
' quarter note
' eighth note
' x 1.0 (time adjust)
' x 1.0 (freq adjust)
' loop counter
' first tone for FREQOUT
' second tone for FREQOUT
' duration for FREQOUT
' octave for freq1 (1 - 8)
' octave for freq2 (1 - 8)
' EEPROM pointer
' DTMF digit
' delay betweens "clicks"
' stored telephone numbers
' "click"

Related parts for 27220