ESP32 Starter Kit
6. Code Explanation
1. This block is used to set variable usable range, variable type , name and its initial value.
2. Repeating times can be assigned in the blank of this repeat block.
3. Input a variable name in the blank and its value will add 1 each time the code executes. “++” can be altered to
“– –”.
4. Input a variable name in the blank and its value will reduce 1 each time the code executes. “– –” can be altered
to “++” .
5. This is a PWM output module, and the white box is the value of the output PWM.
9.2.6 Project 3SOS Distress Device
1. Description
SOS device is able to emit distress signals, which coincides with the principle of Morse code. It is convenient for
emergencies.
9.2. Scratch Project 175