| Electronic Components Datasheet Search |
|
DFR0334 Datasheet(PDF) 6 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0334 Datasheet(HTML) 6 Page - DFROBOT |
|
6 / 7 page ![]() https://www.arduino.cc/en/Guide/Libraries#.UxU8mdzF9H0 #if defined(ARDUINO) && ARDUINO >= 100 #include "Arduino.h" #else #include "WProgram.h" #endif #include "clsPCA9555.h" #include "Wire.h" PCA9555 ioport(0x20); void setup() { ioport.pinMode(8, OUTPUT); //Set GPIOs pinMode LED ioport.pinMode(15, INPUT); //Button } void loop() { if (ioport.digitalRead(ED15) == LOW) { ioport.digitalWrite(8, LOW); //Turn off Led } if (ioport.digitalRead(ED15) == HIGH) { ioport.digitalWrite(8, HIGH); //Turn on Led } } |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |