70016 Parallax Inc, 70016 Datasheet - Page 89

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
Adding a Keypad Entry Feature to Your Application
By copying the functional part of EnterLargeValues.bs2 into a subroutine in
IrRemoteButtons.bs2, you will have a new application program that can either read single
remote button presses or receive large values with keypad entry. Which function the
application performs depends on which subroutine is called.
Example Program – IrRemoteKeypad.bs2
Add these two subroutines to the end of your program:
' -----[ Subroutine - Beep_Valid ]------------------------------------
' Call this subroutine to acknowledge a key press.
Beep_Valid:
' -----[ Subroutine - Beep_Error ]------------------------------------
' Call this subroutine to reject a key press.
Beep_Error:
Test this solution and verify that it works.
Save your work.
Open EnterLargeValuesYourTurn.bs2 and save it as IrRemoteKeypad.bs2.
Add a subroutine named
FREQOUT Speaker, 100, 3500
PAUSE 200
RETURN
FREQOUT Speaker, 100, 3000
PAUSE 200
RETURN
Get_Multi_Digit_Value
to IrRemoteKeypad.bs2.

Related parts for 70016