EasyManua.ls Logo

Keyestudio ESP32 - Page 237

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. Drag a “if else” block from “Control”. Add a “button pin” block from “Button” after “if” and set its pin to IO15.
Put an “LED output” block under “if” and set the output to HIGH, and put another under “else” and set to LOW.
LED pins are both at IO4.
Complete Code:
9.2. Scratch Project 233

Table of Contents