Skip to content

Shift input signal to 0-5V #17

@cotixtof

Description

@cotixtof

Hi Blake,
We continue to use your lib, thanks for your work.
When using the function disableInternalReference(), we have an error message when compiling (''undefined reference'') : how can we fix it?
Also, it seems we have an issue when setting the bias polarity(PULLUP mode), when AIN0 and AIN1 are floating we didn't read the AVSS. Thoughts?
Also when using AIN0 (positive) and AIN1 (negative) input, AVDD=DVDD and AVSS=DGND, we read +2500mV when AIN0 is floating and AIN1 is connected to AVSS, and we have -2500mV when AIN0 is floating and AIN1 is connected to AVSS, when we connect AIN0 to the positive side of a 1,5V battery and AIN1 to the negative side, we read 1500mV : thoughts?
Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions