sparkfun / SparkFun_SX1509_Arduino_Library

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

Unable to turn off the Blink or Pulse once started #6

Open rdragonrydr opened 5 years ago

rdragonrydr commented 5 years ago

If I use any of the hardware-assisted automated blink, fade, or heartbeat options (I am uncertain if I use the right name, but the function that I refer to is hopefully apparent), it is not possible to later control that pin manually via digitalWrite or analogWrite, as the timer keeps turning on/off the pin regardless of the manual control setting.

I have been unable to figure out the exact details of the control mechanism for this portion of the code, and the variable names differ, so I've had no luck in adding a "manual-mode" function to turn them back off, despite two attempts. I hope that someone is able to help me with this.