Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mgunjan opened this issue Jul 19, 2023 · 1 comment
Closed

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

mgunjan opened this issue Jul 19, 2023 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@mgunjan
Copy link

mgunjan commented Jul 19, 2023

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
@per1234 per1234 self-assigned this Jul 19, 2023
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Jul 19, 2023
@per1234
Copy link
Contributor

per1234 commented Jul 19, 2023

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.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 19, 2023
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants