Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.88 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.88 KB

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.

本扩展包作者是台湾劉正吉老师,我翻译成简体中文版,主要是为了方便大陆老师,感谢劉正吉老师写的这个很赞的扩展包!

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