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 #601 background imageLoading...
Page #601 background image
SunFounder ESP32 Starter Kit
2. Scripting for the Parrot Sprite
Now script the Parrot sprite, which is in flight and the flight altitude is determined by the detection distance of the
ultrasonic module.
• When the green flag is clicked, switch the costume every 0.2s so that it is always in flight.
• Read the value of the ultrasonic module and store it in the variable distance after rounding it with the [round]
block.
4.18. 2.15 GAME - Flappy Parrot 595

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