Raspberry kompatibel Tilt Switch Neigungssensor Modul KY-020 For Arduino New
1,19 €
1 pcs KY-020 Tilt Switch Module for Arduino AVR PIC. 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: