Closed aliphys closed 5 months ago
While there is a dedicated Blink_Nicla.ino sketch, the Blink.ino sketch should work with all boards.
The error
directive was added to target EXACTLY that case; I think it's more than enough to drive the user to add the include (which is enough to make everything work automatically)
Describe the problem
The Blink sketch does not run without modification on the Nicla Sense ME. It is required to add the
#include "Nicla_System.h"
directive, in order for the sketch to compile and successfully upload.To reproduce
exit status 1
Compilation error: call to 'pinMode' declared with attribute error: Please include Nicla_System.h to use this pin
Sketch uses 55788 bytes (10%) of program storage space. Maximum is 527616 bytes. Global variables use 12256 bytes (19%) of dynamic memory, leaving 52032 bytes for local variables. Maximum is 64288 bytes.