EasyManua.ls Logo

SunFounder ESP32 - Page 74

Default Icon
771 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
68 Chapter 1. For Arduino User

Table of Contents