ESP32 Starter Kit
3. Test Code
A water flow light consists of a stream of LED lighting from left to right.
1. Drag the two basic code blocks.
2. Set the pin mode to “output”
2. Drag the following blocks from “LED” part and set the IO15 pin to LOW, the IO12 pin to HIGH. Then set the
delay time to 0.2s.
3. Drag the following blocks from “LED” part and set the IO12 pin to LOW, the IO13 pin to HIGH. Then set the
delay time to 0.2s.
9.2. Scratch Project 195