70016 Parallax Inc, 70016 Datasheet - Page 79

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
A complete copy of the program is below.
DO
LOOP
Run and test the program. Verify that the 1 through 9 keys perform as expected.
Try the CH+/- and VOL +/- keys too, and verify that they work correctly.
Think about how much easier this was than the approach that was used in
Chapter 1, Activities #4 and #5.
Save your work, you will also save copies of this program and modify it later.
' Call subroutine that loads the IR message value into the
' remoteCode variable.
GOSUB Get_Ir_Remote_Code
' Send PULSOUT durations for the various maneuvers based on
' the value of the remoteCode variable.
SELECT remoteCode
ENDSELECT
CASE 2, ChUp
CASE 4, VolDn
CASE 6, VolUp
CASE 8, ChDn
CASE 1
CASE 3
CASE 7
CASE 9
CASE ELSE
PULSOUT 13, 850
PULSOUT 12, 650
PULSOUT 13, 650
PULSOUT 12, 650
PULSOUT 13, 850
PULSOUT 12, 850
PULSOUT 13, 650
PULSOUT 12, 850
PULSOUT 13, 750
PULSOUT 12, 650
PULSOUT 13, 850
PULSOUT 12, 750
PULSOUT 13, 750
PULSOUT 12, 850
PULSOUT 13, 650
PULSOUT 12, 750
PULSOUT 13, 750
PULSOUT 12, 750
' Forward
' Rotate Right
' Rotate Left
' Backward
' Pivot Fwd-left
' Pivot Fwd-right
' Pivot back-left
' Pivot back-right
' Hold position

Related parts for 70016