70016 Parallax Inc, 70016 Datasheet - Page 90
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: 90 of 212
- Download datasheet (3Mb)
After you have made these changes, your program should resemble the one below.
√
√
√
√
√
√
Use Edit → Copy and Edit → Paste to move everything shown below from
EnterLargeValuesYourTurn.bs2 into your new
subroutine in IrRemoteKeypad.bs2.
Add a
Modify the main routine so that it looks like this:
' Replace this DO...LOOP with your own code.
DO
LOOP
Add comments to your program explaining how the
works.
Run and test IrRemoteKeypad.bs2.
Trouble-shoot as needed.
value = 0
remoteCode = 0
DO
LOOP UNTIL (remoteCode = Enter)
DEBUG "Enter a value: " ,CR
GOSUB Get_Multi_Digit_Value
DEBUG "The value is: ", DEC value, CR, CR
value = value * 10 + remoteCode
DO
LOOP
RETURN
GOSUB Get_Ir_Remote_Code
IF (remoteCode < 10) THEN
ELSEIF (remoteCode = Enter) THEN
ELSE
ENDIF
DEBUG "You pressed: ", DEC1 remoteCode, CR
GOSUB Beep_Valid
EXIT
DEBUG "You pressed: ENTER", CR
GOSUB Beep_Valid
EXIT
DEBUG "Press 0-9 or ENTER", CR
GOSUB Beep_Error
command at the end of the subroutine.
DO…LOOP UNTIL
Get_Multi_Digit_Value
statement
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: