8000 Releases · wollewald/ADS1115_WE · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: wollewald/ADS1115_WE

Added isDisconnected()

08 Feb 12:06
7febbba
Compare
Choose a tag to compare

The function is disconnected returns the return value of Wire.endTransmission(). You can check with this function whether the I2C connection to your ADS1115 works.

Preventing issues using isBusy() in continuous mode

14 Nov 20:37
fe08755
Compare
Choose a tag to compare

If while(adc.isBusy()) was used in continuous mode, the while loop was ongoing forever. This is changed now.

Added a delay(0) in while-loops

03 Nov 20:28
ae46459
Compare
Choose a tag to compare

To prevent trouble with ESP8266 boards I have changed:

while(adc.isBusy()){}

to

while(adc.isBusy()){ delay(0); }

Update of Readme

10 Apr 18:57
abd14d8
Compare
Choose a tag to compare

I added explanations to the blocking nature of the setCompareChannels() function and introduced the function setCompareChannels_nonblock().

Furthermore I changed the code for the delays when changing channels from

        delayAccToRate(rate);
        delayAccToRate(rate);

to

        for(int i=0; i<2; i++){ 
            delayAccToRate(rate);
        }    

because some people considered this to be copy/paste error.

Implemented full ADS1015 functionality

19 Dec 20:25
239b364
Compare
Choose a tag to compare

The library now also works with the ADS1015.

Non-blocking version of setComepareChannels was added

16 Oct 16:52
54a53e7
Compare
Choose a tag to compare

For advanced users a non-blocking version of setCompareChannels() was added. Users that apply this function need to take care themselves that a measured value from the new channel is already available.

Auto range functions did not work with negative voltages

22 Sep 18:28
4dedad7
Compare
Choose a tag to compare

Auto range functions did not work with negative voltages. The main issue were cases in which the raw values were -32768 (-2^15).

Smaller issue in function getResultWith Range()

21 Sep 15:08
af5030b
Compare
Choose a tag to compare

result = map(rawResult, -32767, 32767, min, max);

changed to

result = map(rawResult BE7B , -32768, 32768, min, max);

since +/- range corresponds to +2^15/-2^15

Replaced #defines by constexpr

24 Oct 18:28
a644e77
Compare
Choose a tag to compare

Various changes:

  • Replaced #defines by constexpr
  • Further "cleaning" of constructors
  • Replaced C-cast by static_cast
  • Replaced private by protected

Tidied the constructor

15 Oct 10:48
8a3b59e
Compare
Choose a tag to compare

I eliminated some constructors. Users won't notice.

0