28029 Parallax Inc, 28029 Datasheet - Page 234

KIT PARTS SMART SENSORS W/TEXT

28029

Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet

Specifications of 28029

Accessory Type
Parts Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® or Javelin Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Other names
28029PAR
Page 222 · Smart Sensors and Applications
LOOP
' -----[ Subroutine - Clear_Data ]--------------------------------------------
Clear_Data:
' -----[ Subroutine - Record_Data ]-------------------------------------------
Record_Data:
DEBUG CLS,
DEBUGIN char
DEBUG CR
SELECT char
ENDSELECT
FOR eeIndex = Records TO RecordsEnd
NEXT
DEBUG CR, "Records cleared."
PAUSE 1000
RETURN
DEBUG CR, "Enter values from -100 to 100", CR
FOR eeIndex = Records TO RecordsEnd
NEXT
DEBUG CR, "End of records.",
CASE "C", "c"
CASE "R", "r"
CASE "D", "d"
CASE ELSE
WRITE eeIndex, 100
DEBUG "Record ", DEC eeIndex, " >"
DEBUGIN SDEC value
value = value + 100
WRITE eeIndex, value
GOSUB Clear_Data
GOSUB Record_Data
GOSUB Display_Data
DEBUG CR, "Not a valid entry.",
PAUSE 1500
"Press/Release Reset", CR,
"to arm datalogger ", CR, CR,
" - or - ", CR, CR,
"Type C, R or D", CR,
"C - Clear records", CR,
"R - Record records", CR,
"D - Display records", CR,
">"
CR, "Press Enter for menu..."
CR, "Try again."

Related parts for 28029