| Electronic Components Datasheet Search |
|
101020025 Datasheet(PDF) 4 Page - Seeed Technology Co.,Ltd. |
|
|
|||||||||||||||||||||||||||||
101020025 Datasheet(HTML) 4 Page - Seeed Technology Co.,Ltd. |
|
4 / 16 page ![]() 7/23/22, 8:48 PM Grove - Tilt Switch - Seeed Wiki https://wiki.seeedstudio.com/Grove-Tilt_Switch/ 4/16 to digital port 7. The LED is connected to digital port 1. The hardware installation is as follows: Copy and paste code below to a new Arduino sketch. 1 void setup() 2 { 3 pinMode(1, OUTPUT); 4 pinMode(5, INPUT); 5 pinMode(7, INPUT); 6 } 7 8 void loop() 9 { 10 11 if (digitalRead(5)==HIGH) 12 { 13 digitalWrite(1, HIGH); 14 delay(100); 15 digitalWrite(1, LOW); 16 } |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |