28029 Parallax Inc, 28029 Datasheet - Page 231
28029
Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
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
- Current page: 231 of 340
- Download datasheet (5Mb)
program stores by simply changing the number of elements in the
directive.
In Activity #4, we'll use this feature to change the number of records the program stores
to 1000 with
ACTIVITY #3: USE EEPROM TO TOGGLE MODES
This activity introduces an EEPROM trick you can use to turn the Board of Education's
Reset button into a switch for selecting different program modes.
Code that Makes the Reset Button a Mode Selector
If you set aside one byte of EEPROM, it can give you the ability to select among as many
as 256 different program modes. In the next example program, we'll just use two modes:
a menu mode, and a mode that jumps to datalogging after a slight delay. Here is a
directive that names an EEPROM byte
to zero.
The simplest form of the initialization is an on/off switch configuration. This is where
the value from the
value is written to the
odd or even with
In this example, if that condition is true, the program ends right there. The next time you
press and release your board's Reset button,
false, and the code block will not halt the program before it has reached the Main
Routine. If the Reset button is pressed and released yet again, the code block will halt the
√
√
Try changing the number of elements the program stores from 11 to 7. All you
have to do is
Test and verify that it works.
Reset
READ Reset, value
value = value + 1
WRITE Reset, value
IF value // 2 = 0 THEN END
Records DATA (1000)
IF value // 2 = 0 THEN
Reset
change Records DATA (10)
Reset
DATA
EEPROM byte is read, 1 is added to it, and then the modified
byte. The modified value is also examined to see if it is
0
. 11
Reset
... I
, and initializes the value stored by this byte
value
Chapter 6: Accelerometer Projects · Page 219
to
will be odd, the condition will be
Records DATA (6)
Records DATA
.
DATA
Related parts for 28029
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: