70016 Parallax Inc, 70016 Datasheet - Page 31
![TEXT INFRARED REMOTE FOR BOE-BOT](/photos/8/99/89966/mfg_70016_sml.jpg)
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: 31 of 212
- Download datasheet (3Mb)
' IR Remote for the Boe-Bot - ArrayExample.bs2
' Set array element values with DEBUGIN and display them with DEBUG.
' {$STAMP BS2}
' {$PBASIC 2.5}
characters
index
FOR index = 0 TO 4
NEXT
DEBUG CR, "You typed: "
FOR index = 0 TO 4
NEXT
END
How ArrayExample.bs2 Works
An array of five bytes named
index
A
times. Each time through, the value of
command stores the character in the next array element.
DEBUG "Type character(", DEC index, ") "
DEBUGIN characters(index)
DEBUG CR
DEBUG characters(index)
FOR…NEXT
√
√
√
√
.
Enter and run ArrayExample.bs2.
Click the Debug Terminal's Transmit Windowpane.
Type five letters.
When the Debug Terminal displays "You typed: …", verify that the BASIC
Stamp has sent back the same characters you entered.
characters
index
FOR index = 0 TO 4
NEXT
DEBUG "Enter character(", DEC index, ") "
DEBUGIN characters(index)
DEBUG CR
loop repeats the code block between the
VAR
VAR
VAR
VAR
Byte(5)
Nib
characters
Byte(5)
Nib
index
is declared along with a nibble variable named
Chapter 1: Infrared Remote Communication · Page 21
is incremented by 1, so the
FOR
and
NEXT
statements five
DEBUGIN
Related parts for 70016
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![700-32305](/photos/15/95/159516/700-32305-l_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories Breadboard Set
Manufacturer:
Parallax Inc
![700-00038](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Power Entry Modules 4AA Battery Holder
Manufacturer:
Parallax Inc
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![27404](/photos/26/91/269197/27404-l_tmb.jpg)
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: