27220 Parallax Inc, 27220 Datasheet - Page 110

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
This is due to DEBUG requiring several milliseconds to send its output to the Debug
Terminal window.
compilation) will increase the events input rate that can be detected.
Note, too, that the subroutine expects a clean input. A noisy input could cause
spurious counts, leading to early termination of the subroutine. This is easily fixed by
adapting the Get_Buttons subroutine from the last experiment.
Scan_Input:
nScan = 1
FOR idx = 1 TO 5
NEXT
xScan = nScan ^ oScan & nScan
oScan = nScan
RETURN
nScan = nScan & EventIn
PAUSE 5
Removing the DEBUG
' use with "noisy" inputs
' look for 0 -> 1 change
' save this scan
output (simple using conditional

Related parts for 27220