EasyManuals Logo

SunFounder ESP32 User Manual

Default Icon
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #502 background imageLoading...
Page #502 background image
SunFounder ESP32 Starter Kit
3. Read the value of pin35
Store the value of pin35 read into the variable value.
• [set my variable to 0]: Set the value of the variable.
• [read analog pin ()]: Read the value of pins in the range of 0-4095.
To be able to read all the way through, you need to use the [forever] block. Click on this script to run it, rotate the
potentiometer in both directions, and you will see that the value range is 0-1023.
496 Chapter 4. Play with Scratch

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the SunFounder ESP32 and is the answer not in the manual?

SunFounder ESP32 Specifications

General IconGeneral
BrandSunFounder
ModelESP32
CategoryController
LanguageEnglish