Keyestudio ESP32 Manual page 213

Starter kit
Hide thumbs Also See for ESP32:
Table of Contents

Advertisement

5. Test Result
After connecting the wiring and uploading code, the digital tube display shows "9999", as shown below.
6. Extended Code
Let's have some difficult operations. Rather than static numbers, we handle it to show some dynamic ones. The
following code manipulates the tubes to display 1~9999.
1. Drag the two basic code blocks.
2. Drag the following block from "Variables". Set the type to int and name to item, and assign 0 as its initial value.
3. Drag the following block from "Control" and set to 9999 times.
4. Drag a "variable mode" from "Variables", define its name to item and set the mode to "++".
9.2. Scratch Project
ESP32 Starter Kit
209

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Related Products for Keyestudio ESP32

Table of Contents

Save PDF