10 Stück KY-020 Kippschalter Modul für Arduino AVR PIC NEU
5,06 €
PinMode(buttonpin, INPUT) ;// define the output interface tilt switch sensor. int buttonpin = 3; // define the tilt switch sensor interfaces. if(val == HIGH) // When the tilt sensor detects a signal when the switch, LED flashes.
Jetzt bei Ebay: