Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

vdiv - wrong output, misunderstanding of device function #25

@jontrulson

Description

@jontrulson
  • This driver is just wrong. It appears that someone didn't read the
    datasheet to understand what this device actually does. :)

  • The 'scale' needs to be specified to init(). This has nothing to do
    with FTI scaling - rather there is an actual switch on the device
    that must be accounted for when computing voltage.

  • And the output value should be an actual voltage, not a normalized ADC
    value (computedValue() in original CXX file). The whole purpose of
    the device is for measuring voltage :)

    Like others, this device does not average samples like it should.
    Needs fixing.

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