A feature complete driver for the PCA9952/55 LED driver from NXP.

Dependents:   PCA9955_HelloWorld

Revision:
9:a9f91f91633b
Parent:
8:12a800c51b35
Child:
10:c8c96c894ec6
diff -r 12a800c51b35 -r a9f91f91633b PCA9955.h
--- a/PCA9955.h	Tue Apr 08 20:31:22 2014 +0000
+++ b/PCA9955.h	Mon Apr 28 04:52:08 2014 +0000
@@ -49,8 +49,8 @@
  *
  *         while (1) {
  *             //Generate a breathing effect on all of the outputs
- *             for (float i = 0.0f; i < 360.0f; i += 0.1f)
- *                 driver = 0.5 * (sinf(i * 3.14159265f / 180.0f) + 1);
+ *             for (float i = 0.0; i < 360.0; i += 0.1)
+ *                 driver = 0.5 * (sinf(i * 3.14159265 / 180.0) + 1);
  *         }
  *     } else {
  *         error("Device not detected!\n");