CuriousScientist0 / ADS1256

An Arduino-compatible library for the ADS1256 24-bit analog-to-digital converter.
MIT License
31 stars 11 forks source link

Return negative 24 bit values as negative numbers #13

Closed BenjaminPelletier closed 2 months ago

BenjaminPelletier commented 2 months ago

This PR is intended to fix #11, but it is a breaking change for anyone who was intentionally using the positive 24-bit numbers returned by differential measurement functions when the conceptual 24-bit value is negative (e.g., their design expects 16777215 rather than -1).