| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
KIT-SEN-ACT bảng dữ liệu(PDF) 39 Page - AG Electronica |
|
|
|||||||||||||||||||||||||||||
KIT-SEN-ACT bảng dữ liệu(HTML) 39 Page - AG Electronica |
|
39 / 50 page ![]() Descripción: Modulo con sensor magnético, deberá construirse un circuito simple que contara con un LED que debe conectarse al PIN 13 del Arduino, cuando el sensor detecta un destello magnético el LED encenderá, si el sensor no detecta nada el LED permanecerá apagado. Código: int sensorPin = A5; / / select the input pin int ledPin = 13; / / select the pin for the LED int sensorValue = 0; / / variable to store the value coming from the sensor void setup () { pinMode (ledPin, OUTPUT); Serial.begin (9600); } void loop () { sensorValue = analogRead (sensorPin); digitalWrite (ledPin, HIGH); delay (sensorValue); digitalWrite (ledPin, LOW); delay (sensorValue); Serial.println (sensorValue, DEC); } Arduino KY-033: Modulo Sensor de Rastreo |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |