28029 Parallax Inc, 28029 Datasheet - Page 230

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 218 · Smart Sensors and Applications
LOOP
' -----[ Subroutine - Clear_Data ]--------------------------------------------
Clear_Data:
' -----[ Subroutine - Record_Data ]-------------------------------------------
Record_Data:
' -----[ Subroutine - Display_Data ]------------------------------------------
Display_Data:
Your Turn - How Many Bytes do You Want to Store?
EepromDataStorage.bs2 uses the
READ
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.",
DEBUGIN char
RETURN
DEBUG CR, "Index
FOR eeIndex = Records TO RecordsEnd
NEXT
DEBUG CR, "Press Enter for menu..."
DEBUGIN char
RETURN
WRITE eeIndex, 100
DEBUG "Record ", DEC eeIndex, " >"
DEBUGIN SDEC value
value = value + 100
WRITE eeIndex, value
READ eeIndex, value
value = value - 100
DEBUG DEC eeIndex, CRSRX, 7, SDEC value, CR
and
CR, "Press Enter for menu..."
CR, "-----
CR
WRITE
operations. Because of this, you can change the number of values the
Record",
------",
Records
and
RecordsEnd
for all loops that perform

Related parts for 28029