Skip to content

analogReadMode is not defined for an analog pin #33

@brentru

Description

@brentru

Required analogReadMode is not present for an analog pin.

Expected analogReadMode with options:

  • raw or voltage

Generated configuration for an analog pin at A0, from tool:

{
    "exportedFromDevice": {
        "referenceVoltage": 2.6,
        "totalGPIOPins": 21,
        "totalAnalogPins": 6,
        "statusLEDBrightness": 0.5,
        "autoConfig": false
    },
    "components": [
        {
            "name": "Analog Pin",
            "componentAPI": "analogio",
            "period": 30,
            "pinName": "D18"
        }
    ]
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions