28123 Parallax Inc, 28123 Datasheet - Page 59
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: 59 of 340
- Download datasheet (6Mb)
A Diagnostic Test for your Computer
A very few computers, such as some laptops, will halt the PBASIC program after the first
time through a
By placing a
prevents this from possibly happening. You will next re-run this program without the
DEBUG
not likely, but it would be important for you to know.
If the LED blinks on and off continuously, just as it did when you ran the original
program with the
If the LED blinked on and off only once and then stopped, you have a computer with a
non-standard serial port design. If you disconnect the serial cable from your board and
press the Reset button, the BASIC Stamp will run the program properly without freezing.
In programs you write yourself, you should add a single command:
right after the compiler directives. This will open the Debug Terminal and keep the
COM port open. This will prevent your programs from freezing after one pass through
the
chapters. You will see this command in some of the example programs that would not
√
√
√
DO…LOOP
command to see if your computer has this non-standard serial port problem. It is
Open LedOnOff.bs2.
Delete the entire
Run the modified program while you observe your LED.
DEBUG "Program Running!"
, or any of the other looping commands you will be learning in later
DEBUG
DO...LOOP
DEBUG
command the program LedOnOff.bs2, the open Debug Terminal
command, your computer will not have this problem.
DEBUG
loop. These computers have a non-standard serial port design.
DO
LOOP
HIGH 14
PAUSE 250
LOW 14
PAUSE 250
instruction.
Figure 2-12
DO…LOOP
The code between the
keywords DO and
LOOP get executed
over and over again.
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: