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 python: mistakes in error messages #76

@HamishB

Description

@HamishB

While searching for how to do differential sampling in continuous sampling mode (still hunting for it!) I notice that the Adafruit_ADS1x15/Adafruit_ADS1x15.py file contains many errors in the print statements for invalid sps and pga values. Often sps and pga are swapped, both in name and in the example (e.g. gives mV instead of Hz).

patch here:
https://gist.github.com/HamishB/11246772

regards,
Hamish

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