On board LED blinky example for Wio cellular targets - Seeed Wio 3G and Wio LTE-M1/NB1(BG96)
Dependencies: WS2812 PixelArray
main.cpp
- Committer:
- MACRUM
- Date:
- 2019-02-13
- Revision:
- 4:bd5780849912
- Parent:
- 3:d48c9a684738
File content as of revision 4:bd5780849912:
#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() { while (1) { setcolor(WS2812_RED); wait(0.5); setcolor(WS2812_BLACK); wait(0.5); } }