sparkfun / SparkFun_SX1509_Arduino_Library

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

How to use OSC as regular IO? #17

Open Antoine1673 opened 2 years ago

Antoine1673 commented 2 years ago

Both the datasheet and the comments in the code mention that the OSCIO pin can be used for input/output just like the other pins. It is indeed possible to set it to input/output and to make it output a clock signal with the clock() function, but I did not find a way to either read or write to it.

Antoine1673 commented 1 year ago

I just reread the datasheet, apparently it cannot be used as input, only as a general purpose output. Still, I cannot find a way to just write to this pin using this library.