SparkFun Qwiic Power Switch (PRT-26784) |
SparkFun Qwiic GPIO (DEV-17047) |
SparkFun RGB Sensor - BH1749NUC (SPX-14733) |
SparkFun Qwiic Directional Pad (PRT-26851) |
The SparkFun I2C Expander Library makes working with 4-bit and 8-bit I2C digital I/O expanders very easy. These expanders can read or write four or eight separate I/O.
The following ICs are supported:
- PCA9534/TCA9534
- PCA9536/TCA9536
- PCA9537/TCA9537
- PCA9554/TCA9554
- PCA9556/TCA9556
- PCA9557/TCA9557
- And maybe others...
This library supports using alternate Wire ports (ie, Wire1, etc) as well as alternate I2C addresses and includes support for interrupt pin errata (PCA9554).
This library supports standard pinMode
, digitalRead
, and digitalWrite
functions.
- /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
- /src - Source files for the library (.cpp, .h).
- keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
- library.properties - General library properties for the Arduino package manager.
- PRT-26784 - SparkFun Qwiic Power Switch
- DEV-17047 - SparkFun Qwiic GPIO
- SPX-14733 - SparkFun RGB Sensor - BH1749NUC
- PRT-26851 - SparkFun Qwiic Directional Pad
This product is open source!
Various bits of the code have different licenses applied. Anything SparkFun wrote is beerware; if you see me (or any other SparkFun employee) at the local, and you've found our code helpful, please buy us a round!
Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release anything derivative under the same license.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.