công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

DFR0013 bảng dữ liệu(PDF) 4 Page - DFROBOT

tên linh kiện DFR0013
Giải thích chi tiết về linh kiện  IIC to GPIO Shield V2.0 SKU: DFR0013
PDF  5 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  DFROBOT [DFROBOT]
Trang chủ  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0013 bảng dữ liệu(HTML) 4 Page - DFROBOT

  DFR0013 Datasheet HTML 1Page - DFROBOT DFR0013 Datasheet HTML 2Page - DFROBOT DFR0013 Datasheet HTML 3Page - DFROBOT DFR0013 Datasheet HTML 4Page - DFROBOT DFR0013 Datasheet HTML 5Page - DFROBOT  
Zoom Inzoom in Zoom Outzoom out
 4 / 5 page
background image
4 #include "WProgram.h"
5 #endif
6
7 #include "clsPCA9555.h"
8 #include "Wire.h"
9
10
11 PCA9555 ioport(0x20);
12
13 void setup()
14 {
15
ioport.pinMode(7, OUTPUT); //Set GPIOs pinMode LED
16
ioport.pinMode(8, INPUT);
//Button
17 }
18
19 void loop()
20 {
21
if (ioport.digitalRead(ED8) == LOW) {
22
ioport.digitalWrite(7, LOW);
//Turn off Led
23
}
24
25
if (ioport.digitalRead(ED8) == HIGH) {
26
ioport.digitalWrite(7, HIGH);
//Turn on Led
27
}
28
29 }
Library Explanation
Library Functions
pinMode() same as standard Arduino
digitalRead() same as Arduino
digitalWrite() same as Arduino



Html Pages

1 2 3 4 5


bảng dữ liệu tải về

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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