LeoAndGit / PCA9555

Arduino Library to approach PCA9555 I2C expander with digitalRead, digitalWrite and pinMode functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PCA9555

Arduino Library to approach PCA9555 I2C expander with digitalRead, digitalWrite and pinMode functions.

##Installation:

  • a) Just download the zip file
  • b) move PCA9555_LIB to the Users Arduino library (usually My documents\Arduino\Libraries)
  • c) Create a new sketch and copy the example file into your sketch
  • d) Compile, download and done.

Support functions:

  • pinMode() same as standard Arduino
  • digitalRead() same as Arduino
  • digitalWrite() same as Arduino

Additional

The code supports either pinnumbers 0 - 15 or ED0 - ED15. This to stay more or less in sync with Arduino.

About

Arduino Library to approach PCA9555 I2C expander with digitalRead, digitalWrite and pinMode functions


Languages

Language:C++ 100.0%