Skip to content

Facilitate retrieving 12bit ADC values from the nRF52-based V2 #236

Description

@kevinjwalters

The current get_analog() method on the pins returns a 10bit value (0-1023). The nRF52 ADC is 12 bit but I cannot find a way to access them from the current MicroPython APIs on a micro:bit V2. Other MP ports appear to have a machine.ADC with a read_u16().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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