Comments (3)
@Potul72; I am hesitating to do that because I do not recommend to use the continuous mode when you want to change channels. There is only one register for the conversion results and if you request it with getResult_V()
or getResult_mV()
you will get what is currently in the register even if a conversion is ongoing. So it could happen that you change the channel request a result and still get the result from the former channel. The isBusy()
function which is used to wait for the latest conversion in the single shot mode does not work in the continuous mode.
If you really want to use the continuous mode despite this issue, you just need to change the channel with setCompareChannels(your choice)
, but add a delay()
before you request the result. The delay needs to be adjusted to the sample rate. The slowest rate is 8 per second. So with delay(125)
you are on the save side for all sample rates. But I personally don't like this too much.
from ads1115_we.
from ads1115_we.
Hi @Potul72, this would be nice, but is unfortunately not the case. This is a hardware limitation, not a library limitation. This feature would be on my wishlist if someone would design an ADC for me. I would also like to see continuous measurements on all channels in parallel with separate alert thresholds. Haven't found such a device yet. However I still like the ADS1115.
from ads1115_we.
Related Issues (15)
- Ability to use result range HOT 44
- Hysteresis HOT 27
- ADS1115 - real 16 bit resolution? HOT 11
- Connecting another device change the voltage of the other device HOT 2
- Differential example HOT 5
- getResultWithRange(), can you please precise? HOT 2
- different gain settings by channel? HOT 7
- Why autorange blocks so much time when range is under 80% max? HOT 4
- Example with 2 I2C addresses HOT 1
- add license to library.properties HOT 2
- Using Wire1 with teensy 4.0 HOT 3
- Question: wrong read value HOT 9
- SPS is Low HOT 3
- Reduce code duplication HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ads1115_we.