On board LED blinky example for Wio cellular targets - Seeed Wio 3G and Wio LTE-M1/NB1(BG96)

Dependencies:   WS2812 PixelArray

Files at this revision

API Documentation at this revision

Comitter:
MACRUM
Date:
Wed Feb 13 02:03:15 2019 +0000
Parent:
3:d48c9a684738
Commit message:
Add error macro

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d48c9a684738 -r bd5780849912 main.cpp
--- a/main.cpp	Tue Feb 12 06:36:35 2019 +0000
+++ b/main.cpp	Wed Feb 13 02:03:15 2019 +0000
@@ -1,6 +1,10 @@
 #include "mbed.h"
 #include "Wio_Cellular_LED.h"
 
+#if !(defined(TARGET_WIO_3G) || defined(TARGET_WIO_BG96))
+#error This example only supports the Seeed Wio 3G or Wio LTE M1/NB1(BG96)
+#endif
+
 // main() runs in its own thread in the OS
 int main()
 {