This is a Chinese Simplified version for https://github.com/lioujj/pxt-IR
Forked from https://github.com/lioujj/pxt-IR
The author is https://github.com/lioujj, I just translate it to Chinese Simplified version for teachers, thanks.
這是專為micro:bit提供的紅外線積木
This is the infrared blocks for microbit
Liou Zheng-Ji
劉正吉
my page, https://sites.google.com/jes.mlc.edu.tw/ljj/
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.
I use the TV remote controller to control the micro:bit.
The code of how to send IR message
- MIT
- for PXT/microbit (The metadata above is needed for package search.)
IR=github:lioujj/pxt-IR