| データシートサーチシステム |
|
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 |
|
|
リンク URL |
| 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 |