28123 Parallax Inc, 28123 Datasheet - Page 208
28123
Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet
1.28123.pdf
(340 pages)
Specifications of 28123
Style
Book
Title
What's a Microcontroller?
Contents
Whats a Microcontroller? Text
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
Lead Free Status / RoHS Status
Not applicable / Not applicable
- Current page: 208 of 340
- Download datasheet (6Mb)
two word values to EEPROM: 659 and 50012. You could start at address 8, but you will
have to write the second value to address 10.
Example Program: StoreLightMeasurementsInEeprom.bs2
This example program demonstrates how to use the
measurements every 5 seconds for 2 ½ minutes and storing them in EEPROM.
' What's a Microcontroller - StoreLightMeasurementsInEeprom.bs2
√
√
WRITE 8, Word 659
WRITE 10, Word 50012
Enter and run StoreLightMeasurementsToEeprom.bs2 .
Record the measurements displayed on the Debug Terminal so that you can
verify the measurements read back from the EEPROM.
Is it possible to write over the program? Yes, and if you do, the program is likely to either
start behaving strangely or stop running altogether. Since the PBASIC program tokens
reside in the highest addresses in the EEPROM, it’s best to use the lowest Address values
for storing numbers with the
How do I know if the
figure out the highest value not used by your PBASIC program. The numbers on the left
side of the main Memory Map graph shown in Figure 7-8 on page 198 are hexadecimal
numbers, and 79A is the highest value not occupied by a program token. Hexadecimal
means base-16, so 79A is really:
Why does this add up ot 1946 instead of 1947? There are 1947 total addresses free, but
they are numbered Address 0 through Address 1946. You can also program the BASIC
Stamp to make this conversion for you using the
$
For a reminder about hexadecimal numbers, see the information box on page 179.
Gradually increase the shade over the photoresistor during the 2 ½ minute test period for
meaningful data.
hexadecimal operator like this:
= 7×16
= 7×256 + 9×16 + 10×1
= 1946.
DEBUG DEC $79A
7×16
2
2
+ 9×16
+ 9×16
1
1
+ A×16
+ 10×16
Address
0
0
WRITE
I’m using is too large? You can use the memory map to
command.
DEBUG
WRITE
command’s
command by taking light
DEC
formatter and the
Related parts for 28123
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: