Skip to content

Commit 2bb5b89

Browse files
authored
Add warning for Nicla Vision
1 parent 804a2b2 commit 2bb5b89

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: libraries/Nicla_System/examples/Blink_Nicla/Blink_Nicla.ino

+5
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
Last edit: 2nd February 2023
3838
*/
3939

40+
//This sketch is only for the Nicla Sense ME, not the Nicla Vision
41+
#ifdef ARDUINO_NICLA_VISION
42+
#error "Run the standard Blink.ino sketch for the Nicla Vision"
43+
44+
4045
// Intialise library which communicates with RGB driver
4146
// Functions accessible under 'nicla' namespace
4247
#include "Nicla_System.h"

0 commit comments

Comments
 (0)