Skip to content

01.Basics > Blink does not compile for Arduino Nicla Sense ME #47

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

Closed
gmacario opened this issue Oct 3, 2021 · 2 comments
Closed

01.Basics > Blink does not compile for Arduino Nicla Sense ME #47

gmacario opened this issue Oct 3, 2021 · 2 comments
Labels
conclusion: invalid Issue/PR not valid type: imperfection Perceived defect in any part of project

Comments

@gmacario
Copy link

gmacario commented Oct 3, 2021

Hello,

I followed the documentation published on link "Built-in Examples" of https://docs.arduino.cc/hardware/nicla-sense-me and attempted to build example "01.Basics > Blink" for the "Arduino Nicla Sense ME" target board.

However the compilation fails with the following error:

/tmp/.arduinoIDE-unsaved202194-7689-1pylxjm.qfj1/Blink/Blink.ino: In function 'void setup()':
/tmp/.arduinoIDE-unsaved202194-7689-1pylxjm.qfj1/Blink/Blink.ino:28:11: error: 'LED_BUILTIN' was not declared in this scope
   pinMode(LED_BUILTIN, OUTPUT);
           ^~~~~~~~~~~
/tmp/.arduinoIDE-unsaved202194-7689-1pylxjm.qfj1/Blink/Blink.ino: In function 'void loop()':
/tmp/.arduinoIDE-unsaved202194-7689-1pylxjm.qfj1/Blink/Blink.ino:33:16: error: 'LED_BUILTIN' was not declared in this scope
   digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
                ^~~~~~~~~~~
Compilation error: Error: 2 UNKNOWN: exit status 1

Any suggestions?

P.S.: My apologies if this is not the proper GitHub repository to report the issue. Please feel free to move elsewhere.
I am quite new with the Nicla and I believe there should be an easy fix, but I could not figure it out myself.

Also, if there is anything I can do to develop a fix I would be more than happy to give it a try and submit a PR.
Just need some guidance. Thanks!

@per1234
Copy link
Contributor

per1234 commented Oct 3, 2021

Hi @gmacario. Thanks for your report. The Nicla has its own equivalent to the Blink example. The standard Blink example you find in this repository can't be used with that board.

There are instructions for it here:
https://docs.arduino.cc/software/ide-v1/tutorials/getting-started/cores/arduino-mbed_nicla#uploading-a-simple-example

Enjoy using your new Nicla Sense ME!

@per1234 per1234 closed this as completed Oct 3, 2021
@per1234 per1234 added type: imperfection Perceived defect in any part of project conclusion: invalid Issue/PR not valid labels Oct 3, 2021
@gmacario
Copy link
Author

gmacario commented Oct 3, 2021

Hi @gmacario. Thanks for your report. The Nicla has its own equivalent to the Blink example. The standard Blink example you find in this repository can't be used with that board.

I see... Thank you very much for your hint!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants