27404 Parallax Inc, 27404 Datasheet - Page 218
27404
Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet
1.27404.pdf
(266 pages)
Specifications of 27404
Accessory Type
Hobby and Education
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SumoBot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 218 of 266
- Download datasheet (6Mb)
Because
#THEN
be ignored, unless of course, you change the
Example Program: CompilerDirectives.bs2
CompilerDirectives.bs2 can actually be six different programs. That's because it has
conditional compiler directives for three different
LED_MODE
√
code block will become part of the program. The code inside the
#SELECT DEBUG_MODE
#ENDSELECT
' -----[ Main Routine ]------------------------------------------------
DO
LOOP
Based on the
CompilerDirectives.bs2 is going to do when you download it to the BASIC
Stamp.
LED_MODE
s. This gives you six different combinations of
#CASE 0
#CASE 1
#CASE 2
DEBUG CRSRX, 0, ? counter
counter = counter + 1
#IF LED_MODE = 1 #THEN
#ELSE
#ENDIF
DEBUG "DEBUG_MODE is zero."
DEBUG "DEBUG_MODE is one."
DEBUG "DEBUG_MODE is two."
DEBUG "LED state = ", BIN1 counter.BIT0, CRSRUP
TOGGLE LedSpeaker
PAUSE 200
DEBUG "LED_MODE disabled", CRSRUP
PAUSE 100
is 1, the code inside the commands nested in the
LED_MODE
and
#DEFINE LED_MODE
DEBUG_MODE
DEBUG_MODE
DEBUG_MODE
#DEFINES
directive to zero.
s and two different
#IF LED_MODE = 1
and
, predict what
#ELSE
LED_MODE
block will
.
Related parts for 27404
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:
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:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ 28SSOP
Manufacturer:
Parallax Inc
Datasheet: