lioujj / pxt-IR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InfraRed

這是專為micro:bit提供的紅外線積木
This is the infrared blocks for microbit

Author

Liou Zheng-Ji
劉正吉
my page, https://sites.google.com/jes.mlc.edu.tw/ljj/

Video

click here to see the sample video

Blocks

image

Sample1

click here to see the sample video

The code of how to receive IR message.
For now, the blocks can send and receive IR message using the encoding of NEC and SONY. You can emit IR to your IR receiver attached on microbit from the normal IR remote control, then the blocks will decode the IR message to Hex. You can record the IR message then send the same IR message when you want to emit the same IR message by microbit. image

Sample2

click here to see the sample video

I use the TV remote controller to control the micro:bit. image

Sample3

The code of how to send IR message image

License

  • MIT

Supported targets

  • for PXT/microbit (The metadata above is needed for package search.)
IR=github:lioujj/pxt-IR

About


Languages

Language:TypeScript 100.0%