28139 Parallax Inc, 28139 Datasheet - Page 197

KIT REMOTE IR FOR BOE-BOT W/TEXT

28139

Manufacturer Part Number
28139
Description
KIT REMOTE IR FOR BOE-BOT W/TEXT
Manufacturer
Parallax Inc
Datasheets

Specifications of 28139

Accessory Type
IR Remote
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
All that has to be changed in ReceiveCustomIrMessage.bs2 is the
displays the value it receives.
The receiver board should display repeated messages in the Debug Terminal with the
sequence "Received: 0", "Received: 1", "Received: 2", etc.
The protocol can be updated to transmit and receive word values instead of byte values.
The
search/replace feature) variables need to be declared as Word instead of Byte. The
irMessage
Save TransmitCustomIrMessage.bs2 as TransmitCustomIrValues.bs2.
Modify this line so that the
eeChar address to 0. In other words, change
to
Comment this line by placing an apostrophe to the left of it.
Optionally, replace all instances of character with value. This is most easily
done with the BASIC Stamp Editor's Edit -> Find/Replace menu option.
Save and download the modified program into the BASIC Stamp on the
transmitter board, then disconnect it from the programming cable.
Save ReceiveCustomIrMessage.bs2 as ReceiveCustomIrValues.bs2.
Add the
so that it looks like this
Save the program, then downloaded it to the BASIC Stamp on the receiver
board, and leave it connected to the programming cable.
With line of sight and a close proximity established between the IR LED and the
IR receiver, repeatedly press and release the transmitter board's reset button.
eeChars
eeChars
' IF character < "a" OR character > "z" THEN character = "a"
DEBUG "Received: ", irMessage, CR
DEBUG "Received: ", DEC irMessage, CR
DEC
and
formatter to this
character
DATA
DATA
(or value if you used the BASIC Stamp Editor's
"a"
0
DEBUG
DATA
directive initializes the value stored at the
command
DEBUG
command that

Related parts for 28139