EasyManua.ls Logo

Keyestudio ESP32 - 4. Test Code

Keyestudio ESP32
344 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...
ESP32 Starter Kit
3. Wiring Diagram
4. Test Code
1. Drag the two basic blocks.
2. Find and drag the “IR remote init” block from “IR Remote” and set its pin to IO19. Add a “baud rate” block
from “serial” and set to 9600.
3. Drag an “if” block and fill its condition with “Received data”. Only when the IR module receives data, code
blocks in “if” will execute.
9.2. Scratch Project 327

Table of Contents