Closed fivesixzero closed 3 years ago
Should be ready for review now that I've tidied up the typos and linter errors. :)
For good measure I double-checked the APDS9960 Learn Guide CircuitPython page.
The interrupt features aren't mentioned in there and the examples don't make use of the interrupt_pin
argument. So this change won't cause problems there.
Addresses #33 with some minor doc updates for good measure.
These changes don't have any effect on the example code or the function of the library. The only thing that the incoming
interrupt_pin
arg used to do was to set an internal variable that was never actually used.An alternative approach would be to update the doc to indicate that we want a
DigtalInOut
rather than aPin
. Given that it isn't used, I've started with this PR. Feel free to reject the PR if this approach isn't appropriate. :)