| 数据搜索系统,热门电子元器件搜索 |
|
DFR0789 数据表(PDF) 13 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0789 数据表(HTML) 13 Page - DFROBOT |
|
13 / 15 page ![]() /* Description: When you press the button for the first time, its inner LED will be lighten up. At t When you press the button again, its inner LED will be off, and the other one on pin */ int ledPin = 13; // Select the pin of light int inputPin = 2; // Sensor connect pin 2 void setup() { pinMode(ledPin, OUTPUT); // Define the pin of light as output pin pinMode(inputPin, INPUT); // Define the pin of button as input pin } void loop(){ int val = digitalRead(inputPin); //Read input value |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |