SunFounder ESP32 Starter Kit
When the tilt switch is in an upright position, IO14 will be set to high, resulting in the LED being lit. Conversely, when
the tilt switch is tilted, IO14 will be set to low, causing the LED to turn off.
The purpose of the 10K resistor is to maintain a stable low state for IO14 when the tilt switch is in a tilted position.
Wiring
3.20. 5.2 Tilt It 361