sparkfun / SparkFun_SX1509_Arduino_Library

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

[BUG] Typecasting issue in SX1509 timing registers. #21

Closed yashmulgaonkar closed 1 year ago

yashmulgaonkar commented 1 year ago

Hello folks, There is a bug in typecasting timing registers. Time periods are being typecast as uint8_t but passed in as unsigned long.

Will post a pull request after some more testing.

nseidle commented 1 year ago

Thanks for reporting and the PR! Rolled into v3.0.5.