EasyManua.ls Logo

Keyestudio ESP32 - Page 282

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
4. Assign a map function to the variable. Add “read the value of light IO33” from “Light” to the value of map
function, whose range is from (0,4095) to (0,7).
5. Find the following blocks in “Matrix”. Clear the display first, and then draw lines on the display at dots (x0:3
y0:0, x1:3 y1: variable light) and (x0:4 y0:0, x1:4 y1: variable light). Finally refresh the display of matrix.
Complete Code:
278 Chapter 9. Scratch Tutorial

Table of Contents