Device Control
PCA9536_RGB
Nadav Matalon <nadav.matalon@gmail.com>
PCA9536 RGB LED Driver
This library provides an API for controlling a single RGB Led (Common-Cathode or Common-Anode) via the I2C Bus. Communication between the Arduino (master) and the RGB Led (slave) is handled by the PCA9536, a 4-Channel I2C GPIO (General Purpose I/O) Expander. The basis of the current API comes from the PCA9536 Library (https://github.com/nadavmatalon/PCA9536), which is expanded here to include the relevant functions, including: Turning on a specific color (or all colors) on and off, Toggling a color, and an independent Blinking functionality for each color which doesn't make use of delays and therefore does not interrupt other routines running simultaniously in the code.
Go to repositoryThis library is compatible with the avr architectures.
Compatibility with an architecture means that code can be compiled and uploaded to a board from the list below:
Samd