Skip to content

error: 'AREF_PIN' was not declared in this scope #74

Not planned
@mgunjan

Description

@mgunjan

Installed the v2.0.4 from the library manager of the IDE and trying a test run using the "All_Features.ino" example. I am getting the error as shown below

Library Arduino_MKRIoTCarrier has been declared precompiled:
Using precompiled library in /Users/mgunjan/Documents/Arduino/libraries/Arduino_MKRIoTCarrier/src/cortex-m0plus
/Users/mgunjan/Documents/Arduino/libraries/Arduino_MKRIoTCarrier/src/Arduino_MKRIoTCarrier.cpp: In member function 'int MKRIoTCarrier::begin()':
/Users/mgunjan/Documents/Arduino/libraries/Arduino_MKRIoTCarrier/src/Arduino_MKRIoTCarrier.cpp:34:11: error: 'AREF_PIN' was not declared in this scope
   pinMode(AREF_PIN,INPUT_PULLUP);
           ^~~~~~~~
/Users/mgunjan/Documents/Arduino/libraries/Arduino_MKRIoTCarrier/src/Arduino_MKRIoTCarrier.cpp:34:11: note: suggested alternative: 'SCK_PIN'
   pinMode(AREF_PIN,INPUT_PULLUP);
           ^~~~~~~~
           SCK_PIN

exit status 1

Compilation error: exit status 1

Activity

self-assigned this
on Jul 19, 2023
added
type: imperfectionPerceived defect in any part of project
topic: codeRelated to content of the project itself
on Jul 19, 2023
per1234

per1234 commented on Jul 19, 2023

@per1234
Contributor

Hi @mgunjan. Thanks for taking the time to submit an issue.

I see we have another report about this at #68.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

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

Metadata

Metadata

Assignees

Labels

conclusion: duplicateHas already been submittedtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @per1234@mgunjan

      Issue actions

        error: 'AREF_PIN' was not declared in this scope · Issue #74 · arduino-libraries/Arduino_MKRIoTCarrier