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

Dependencies:   WS2812 PixelArray

Committer:
MACRUM
Date:
Tue Feb 12 06:36:35 2019 +0000
Revision:
3:d48c9a684738
Parent:
1:194e3cf73e72
Child:
4:bd5780849912
Add WIO_BG96 support

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MACRUM 0:1f050f0c9bec 1 #include "mbed.h"
MACRUM 3:d48c9a684738 2 #include "Wio_Cellular_LED.h"
MACRUM 0:1f050f0c9bec 3
MACRUM 0:1f050f0c9bec 4 // main() runs in its own thread in the OS
MACRUM 0:1f050f0c9bec 5 int main()
MACRUM 0:1f050f0c9bec 6 {
MACRUM 1:194e3cf73e72 7 while (1) {
MACRUM 1:194e3cf73e72 8 setcolor(WS2812_RED);
MACRUM 1:194e3cf73e72 9 wait(0.5);
MACRUM 1:194e3cf73e72 10 setcolor(WS2812_BLACK);
MACRUM 1:194e3cf73e72 11 wait(0.5);
MACRUM 0:1f050f0c9bec 12 }
MACRUM 0:1f050f0c9bec 13
MACRUM 0:1f050f0c9bec 14 }