122-28029 Parallax Inc, 122-28029 Datasheet - Page 258

GUIDE STUDENT SMART SENSORS

122-28029

Manufacturer Part Number
122-28029
Description
GUIDE STUDENT SMART SENSORS
Manufacturer
Parallax Inc
Datasheet

Specifications of 122-28029

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Smart Sensors
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Page 246 · Smart Sensors and Applications
' -----[ Subroutine - Record_Data ]-------------------------------------------
Record_Data:
' -----[ Subroutine - Display_Data ]------------------------------------------
Display_Data:
DEBUG CR, "Clearing..."
FOR eeIndex = Records TO RecordsEnd
NEXT
DEBUG CR, "Records cleared."
PAUSE 1000
RETURN
FREQOUT 4, 75, 4000
PAUSE 200
FREQOUT 4, 75, 4000
DEBUG CLS, "Recording..."
FOR eeIndex = Records TO RecordsEnd STEP 2
NEXT
FREQOUT 4, 200, 4000
DEBUG CR, "End of records.",
DEBUGIN char
RETURN
DEBUG CR, "Index
FOR eeIndex = Records TO RecordsEnd STEP 2
WRITE eeIndex, 0
PULSIN 7, 1, y
WRITE eeIndex, Word y
READ eeIndex, Word y
DEBUG DEC eeIndex, CRSRX, 7, SDEC y, CR
CR, "Press Enter for menu..."
CR, "-----
CR
x-axis
------
y-axis",
------",

Related parts for 122-28029