User Manual
47
Experimental Procedures
Step 1: Build the circuit
Mercury Switch Module SunFounder Uno
S------------------------------------------- D2
- ------------------------------------------ GND
+ ------------------------------------------ 5V
Step 2: Program (Please refer to the example code in LEARN -> Get Tutorial on our website)
Step 3: Compile
Step 4: Upload the sketch to SunFounder Uno
Now, tilt the switch and the LED attached to pin 13 on the SunFounder Uno board will light
up.
SunFounder