ESP32 Starter Kit
5. Add a “repeat until” block and set the “until” to “item = 1”, as shown below. When item = 1, exit the loop.
6. Drag another “if” block and set the condition “Interface IO16 button was be pushed?”. Add an “LED output”
block under “then” and set the output to HIGH at pin IO12. And add a “set item variable by 1” to exit this
condition block.
7. Repeat step 6, but set interface to IO17 and LED pin to IO13.
9.2. Scratch Project 245