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 #534 background imageLoading...
Page #534 background image
SunFounder ESP32 Starter Kit
4.12.2 You Will Learn
• Motor working principle
• Broadcast function
• Stop other script in sprite block
4.12.3 Build the Circuit
4.12.4 Programming
The effect we want to achieve is to use 2 arrow sprites to control the clockwise and counterclockwise rotation of the
motor and the star sprite respectively, clicking on the star sprite will stop the motor from rotating.
1. Add sprites
Delete the default sprite, then select the Star sprite and the Arrow1 sprite, and copy Arrow1 once.
528 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