28122 Parallax Inc, 28122 Datasheet - Page 209
28122
Manufacturer Part Number
28122
Description
KIT WHAT'S A MICRO:PARTS ONLY
Manufacturer
Parallax Inc
Datasheet
1.28123.pdf
(340 pages)
Specifications of 28122
Accessory Type
Parts Kit
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 209 of 340
- Download datasheet (6Mb)
' Write light measurements to EEPROM.
' {$STAMP BS2}
' {$PBASIC 2.5}
time
eepromAddress
DEBUG "Starting measurements...", CR, CR,
PAUSE 1000
FOR eepromAddress = 0 TO 58 STEP 2
NEXT
DEBUG "All done.
END
How StoreLightMeasurementsInEeprom.bs2 Works
The
to count in steps of 2 because word values are written into the EEPROM.
The
The
eepromAddress
variable is incremented by two each time through the loop because a
up two bytes. The address for a
HIGH 2
PAUSE 5000
RCTIME 2, 1, time
DEBUG DEC2 eepromAddress,
WRITE eepromAddress, Word time
RCTIME
FOR…NEXT
time
"Measurement
"-----------
"ReadLightMeasurementsFromEeprom.bs2"
FOR eepromAddress = 0 to 58 STEP 2
NEXT
"
RCTIME 2, 1, time
WRITE eepromAddress, Word time
variable is stored at the address given by the current value of the
command loads the time measurement into the word size
loop that measures the RC-time values and stores them to EEPROM has
VAR
VAR
variable each time through the loop. Remember, the
Now, run:", CR,
Value", CR,
-----", CR
", DEC time, CR
Word
Byte
WRITE
command is always in terms of bytes.
Word
time
eepromAddress
variable.
variable takes
Related parts for 28122
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: