전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

DFR0013 데이터시트(PDF) 4 Page - DFROBOT

부품명 DFR0013
상세설명  IIC to GPIO Shield V2.0 SKU: DFR0013
PDF  5 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  DFROBOT [DFROBOT]
홈페이지  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0013 데이터시트(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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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