SX1509 16 Output I/O Expander / LED Driver Library

Dependents:   SX1509_HelloWorld

Revision:
1:9ab20d13c44e
Parent:
0:893f387bda9f
Child:
2:330355f546b0
--- a/SX1509.cpp	Tue Oct 21 04:07:43 2014 +0000
+++ b/SX1509.cpp	Tue Oct 21 06:33:14 2014 +0000
@@ -369,14 +369,6 @@
 void SX1509::setupLED(LED_t led)
 {
     int i = 0;
-    /*
-    write_register(led + i++, 0x03); // T_on
-    write_register(led + i++, 0xFF); // Intensity
-    write_register(led + i++, (0x01<<3)|(0x00)); // T_off
-    write_register(led + i++, 0x01); // T_rise
-    write_register(led + i, 0x01); // T_fall
-    */
-    
     write_register(led + i++, 0x00); // T_on
     write_register(led + i++, 0x0A); // Intensity
     write_register(led + i++, (0x01<<3)|(0x00)); // T_off