Skip to content

RESOLVED! 'analogPinToChannel' was not declared in this scope #2

Description

@gweep

I am getting this error in OTOPlug1200Test and OTOduinoSimpleClient.

The error is in OTOPlug1200.cpp. I am not able to figure this one out. Perhaps this is an issue with the more recent builds of the Arduino UI.

...Projects/Arduino/libraries/OTOplug1200/OTOplug1200.cpp:101:76: error: 'analogPinToChannel' was not declared in this scope ADMUX = ANALOG_REFERENCE | analogPinToChannel(_analogPinNumber); //B01000000; // AVcc with external capactor at AREF pin, ADC0

Error compiling.

Any thoughts?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions