Releases: wollewald/ADS1115_WE
Something went wrong with the last release
Smething went wrong with the last release
getResultWithRange: fixed rounding issue
When choosing a min / max range, e.g. -127...+127, a value of 126.99 gave 126. The digits were cut off. Now changed to rounding (added +0.5 before changing float to int).
New options for returning the conversion result
New options have been added to obtain the results of the conversion:
getRawResult
getResultWithRange
Explained in ADS1115.h and the example: "Result_Format_Options.ino".
A function to return the voltage range has been added:
getVoltageRange_mV
Further typos corrected
"Continous" changed to "continuous" in all files.
Corrected link to the homepage in readme.md
Some maintenance
- corrected some typos in the comments of the examples
- eliminated a compiler warning
- simplified the Single-Shot example
Eliminated Compiler Warning
Eliminated a compiler warning: a variable could have been used uninitialized.
Correction in init
The return value of wire.endTransmission() was bool - correct is byte (uint8_t).
Some changes to setVoltageRange_mV
Switching to Power Down while the range is changed. This avoids unwanted limit alerts.
Fixed the bug in the fix
Sorry the fix in last relase had bug!
Fixed a bug in ADS1115.cpp
When changing the range, the lower alarm limit has not been updated correctly.