A feature complete driver for the PCA9952/55 LED driver from NXP.
Dependents: PCA9955_HelloWorld
Diff: PCA9955.h
- Revision:
- 10:c8c96c894ec6
- Parent:
- 9:a9f91f91633b
- Child:
- 11:dbf20a128eb6
diff -r a9f91f91633b -r c8c96c894ec6 PCA9955.h --- a/PCA9955.h Mon Apr 28 04:52:08 2014 +0000 +++ b/PCA9955.h Fri May 02 17:29:33 2014 +0000 @@ -167,8 +167,9 @@ * @param sda The I2C data pin. * @param scl The I2C clock pin. * @param addr The I2C slave address (defaults to ADDRESS_0). + * @param hz The I2C bus frequency (defaults to 400kHz). */ - PCA9955(PinName sda, PinName scl, Address addr = ADDRESS_0); + PCA9955(PinName sda, PinName scl, Address addr = ADDRESS_0, int hz = 400000); /** Probe for the PCA9952/55 and indicate if it's present on the bus *