70016 Parallax Inc, 70016 Datasheet - Page 61

TEXT INFRARED REMOTE FOR BOE-BOT

70016

Manufacturer Part Number
70016
Description
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 70016

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
For Use With
29122 - KIT PARTS IR REMOTE FOR BOE-BOT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
70016SE
Manufacturer:
ST
0
DO
LOOP
How SetAndClearWithDotBit.bs2 Works
The
Terminal. The
set/cleared, and the
The rest of the commands are nested inside the main
DEBUG CLS,
DEBUGIN DEC1 index
DEBUG CR, "Type 1 to set or 0 to clear: "
DEBUGIN BIN1 setClear
IF index = 0 THEN value.BIT0 = setClear
IF index = 1 THEN value.BIT1 = setClear
IF index = 2 THEN value.BIT2 = setClear
IF index = 3 THEN value.BIT3 = setClear
IF index = 4 THEN value.BIT4 = setClear
IF index = 5 THEN value.BIT5 = setClear
IF index = 6 THEN value.BIT6 = setClear
IF index = 7 THEN value.BIT7 = setClear
PAUSE 500
value
value
index
setClear
BIN8 value, " <- Binary value", CR,
"76543210 <- Bit index", CR, CR,
"Type bit index (0 to 7): "
variable is the byte, with 8 bits that you clear and set with the Debug
index
setClear
variable stores the value that determines which bit in
VAR
VAR
VAR
variable stores a 1 or a 0.
Byte
Nib
Bit
DO…LOOP
.
value
will be

Related parts for 70016