sparkfun / SparkFun_SX1509_Arduino_Library

Arduino library for the SX1509 16-I/O GPIO expander.
44 stars 38 forks source link

fixed LED driver clock setting in function ledDriverInit() #12

Closed beammeup0x closed 2 years ago

beammeup0x commented 2 years ago

Fixed an issue with the freq parameter in ledDriverInit. In the original code the parameter is basically ignored. Added a call to clock() to ensure the system internal 2MHz clock is activated.