Skip to content

Continuous Sampling from more than one channel ADS1015` #58

Closed
@rmiller4

Description

@rmiller4

Hello,
I've been using the ads1x15_fast_read.py code and I am trying to read
from two channels continuously in single-ended mode.
I simply created a second channel (chan1 = AnalogIn(ads, ADS.P1)
in addition to the first, along with another data array (dataB). Then I read them
one after the other using
data[i] = chan0.value
dataB[i] = chan1.value

When I do this, the values for both arrays seems to be nonsensical.
Is there a way to read in more than one channel in conintuous/fast mode?
Or am I missing something obvious.
Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions