27297 Parallax Inc, 27297 Datasheet - Page 82

KIT STAMPWORKS WITH BS2-IC

27297

Manufacturer Part Number
27297
Description
KIT STAMPWORKS WITH BS2-IC
Manufacturer
Parallax Inc
Datasheet

Specifications of 27297

Lead Free Status
Contains lead
Product
Microcontroller Accessories
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
27297SQ
Manufacturer:
NS
Quantity:
4
Main:
' -----[ Subroutines ]-------------------------------------------------
Show_Clock:
DO WHILE (Tic = IsHigh)
LOOP
DO WHILE (Tic = IsLow)
LOOP
tenths = tenths + 1 // 36000
GOTO Main
time = (tenths / 600) * 100
time = time + (tenths // 600 / 10)
Segs = Blank
READ (DigSel + theDig), Digs
READ (Digit0 + (time DIG theDig)), Segs
IF (theDig = 2) THEN
ENDIF
theDig = theDig + 1 // 4
RETURN
GOSUB Show_Clock
GOSUB Show_Clock
Segs.BIT7 = tenths.BIT0
' wait during high cycle
' wait during low cycle
' update time @ 10 Hz
' get mins, move to 100s
' add seconds in 1s/10s
' clear display
' select digit
' move digit pattern to segs
' blink decimal point
' update digit pointer

Related parts for 27297