Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

ADS1x15 mistake #36

@pedvide

Description

@pedvide

Hi, there's a mistake in the register definitions in file Adafruit_ADS1x15.py.
For the ADS1015 it says in line 57:
__ADS1015_REG_CONFIG_DR_920SPS = 0x0050
In binary that's 0000 0000 0101 0000. This sets the DR to 490SPS and the COMP_MODE to window mode!
It should be
__ADS1015_REG_CONFIG_DR_920SPS = 0x0060

I have also updated the library to include most functions of both chips. I wrote a post in the forum, that hasn't receive much attention, but I think it would be great if you added my changes to the library.
http://forums.adafruit.com/viewtopic.php?f=19&t=38466

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions