A feature complete driver for the PCA9952/55 LED driver from NXP.
Dependents: PCA9955_HelloWorld
Diff: PCA9955.h
- Revision:
- 2:9d866639b32b
- Parent:
- 1:016f916c5579
- Child:
- 3:84571acc16a1
--- a/PCA9955.h Thu Nov 07 21:16:07 2013 +0000 +++ b/PCA9955.h Thu Nov 07 21:19:53 2013 +0000 @@ -49,7 +49,7 @@ * while (1) { * //Generate a breathing effect on all of the outputs * for (float i = 0.0f; i < 360.0f; i += 0.1f) { - * driver.allOutputDuties(0.5 * (sinf(i * 3.14159265f / 180.0f) + 1)); + * driver = 0.5 * (sinf(i * 3.14159265f / 180.0f) + 1); * } * } * } else {