3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module for Arduino

SKU: GP-1834507

$4.32

3pin KY-020 3.3-5V Standard Tilt Switch Sensor Module for Arduino
$4.32

Feature
Tilt switch module and a digital interface, built-in 13 LED build a simple circuit to produce tilt warning lamp 13 comes with digital interfaces of the LED, the tilt switch sensor interface to access digital 3,when the tilt open Off sensor senses a key signal, LED lights, otherwise off.
Routines source code
int Led = 13 ;// define LED Interface
int buttonpin = 3; // define the tilt switch sensor interfaces
int val ;// define numeric variables val
void setup()
void loop ()
else
}
Package includes
1 x Tilt Switch Sensor Module

Additional information

Weight 0.006 kg