70016 Parallax Inc, 70016 Datasheet - Page 60
70016
Manufacturer Part Number
70016
Description
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet
1.70016.pdf
(212 pages)
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
- Current page: 60 of 212
- Download datasheet (3Mb)
Example Program – SetAndClearWithDotBit.bs2
Figure 2-4 shows an example of what you can do with SetAndClearWithDotBit.bs2. By
typing a digit into the Transmit Windowpane when prompted for the "bit index" you can
select the bit in the
the Transmit Windowpane when prompted for "1 to set or 0 to clear", you can control
whether the bit in
The program will pause for half a second, then refresh the display.
' IR Remote for the Boe-Bot - SetAndClearWithDotBit.bs2
' Use the Debug Terminal's Transmit Windowpane to choose a bit in
' the value variable and set or clear it.
'{$STAMP BS2}
'{$PBASIC 2.5}
value
index
setClear
√
√
√
√
√
Enter, save, and run SetAndClearWithDotBit.bs2.
When the prompt "Type bit index (0 to 7): " appears, decide which bit you want
to change, and type that digit.
When the prompt "Type 1 to set or 0 to clear: " appears, type the 1 or 0 key.
Check and make sure the change you entered appears in the "Binary value".
Experiment with setting and clearing bits in the "Binary value".
VAR
VAR
VAR
value
value
is set to 1 or cleared to 0.
Byte
Nib
Bit
variable that you want to change. Then, by typing a 1 or 0 into
Figure 2-4
Clearing and Setting
Bits in a Byte with the
Debug Terminal
Use the Transmit
Windowpane
reply
prompts.
to
the
to
Related parts for 70016
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories Breadboard Set
Manufacturer:
Parallax Inc
Part Number:
Description:
Power Entry Modules 4AA Battery Holder
Manufacturer:
Parallax Inc
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:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: