27220 Parallax Inc, 27220 Datasheet - Page 184
27220
Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet
1.27220.pdf
(230 pages)
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
- Current page: 184 of 230
- Download datasheet (3Mb)
Program: SW21-EX31-MC14489.BS2
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ Program Description ]---------------------------------------------
'
' This program is a coin counter -- it will count nickels, dimes, quarters,
' and dollars using pushbutton inputs.
' 7-segment LED displays that are controlled with a MC14489.
' -----[ I/O Definitions ]-------------------------------------------------
Clock
SerData
Enable
Coins
' -----[ Constants ]-------------------------------------------------------
FullValue
' Hex values for Letters
Ltr_F
' Special Decode characters
Blank
Ltr_U
Ltr_L
' -----[ Variables ]-------------------------------------------------------
money
idx
deposit
nickel
dime
quarter
dollar
config
dpCtrl
segs5
segs4
segs3
segs2
segs1
PIN
PIN
PIN
VAR
CON
CON
CON
CON
CON
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
0
1
2
INB
500
$F
$0
$A
$5
Word
Nib
Nib
deposit.BIT0
deposit.BIT1
deposit.BIT2
deposit.BIT3
Byte
Nib
Nib
Nib
Nib
Nib
Nib
The "bank" is displayed on four
' shift clock (MC14489.11)
' serial data (MC14489.12)
' enable (MC14489.10)
' coin inputs (P4 - P7)
' bank full = $5.00
' display in Hex mode
' display in Special mode
' current money count
' loop counter
' coins deposited
' bit values of deposit
' decode configuration
' decimal point control
' segs - digit 5
' segs - digit 1
Related parts for 27220
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: