EasyManua.ls Logo

Keyestudio 4WD - Page 325

Keyestudio 4WD
369 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
325
www.keyestudio.com
Hex file
KS4031(4032) folder/Makecode
Tutorial/Makecode Code/Project
19.1:Decode IR Remote
Control.hex
Project 19.1:Decode IR
Remote Control.hex
Click“Advanced”→“Serial”→“serial redirect to USB”
Place it into“on start”block.
Enter“IrRemote”→“connect IR receiver at P0”
Put it into“on start”block
IR receiving module is controlled by P9 of micro:bit board, so click P0 to
select P9.
Go to“Variables”“Make a Variable... “New variable name: dialog
box
Enter“val”and click“OK”to create variable“val”

Related product manuals