SX1509 16 Output I/O Expander / LED Driver Library

Dependents:   SX1509_HelloWorld

Revision:
5:c64016ec73d3
Parent:
3:ba95b8e850f1
--- a/SX1509.h	Tue Oct 21 15:06:07 2014 +0000
+++ b/SX1509.h	Tue Oct 21 15:08:22 2014 +0000
@@ -204,7 +204,6 @@
     int read_register(char const);
     void setBuffer(Side_t, State_t);
     void setPull(Side_t, Pull_t, State_t);
-    void setOpenDrain(Side_t, State_t);
     void setClock(State_t);
     void setFreq(Freq_t);
     void setLedDrive(Side_t, State_t);
@@ -261,6 +260,8 @@
     /// The method used for controlling how an LED is controlled by the SX1509
     void setupLED(LED_t);
     
+    /// Used to set a pin so that it is capable of sinking current for LEDs
+    void setOpenDrain(Side_t, State_t);
 };
 
 #endif
\ No newline at end of file