On board LED blinky example for Seeed Wio 3G

Dependencies:   WS2812 PixelArray

Fork of Wio_3G-example-blinky by Toyomasa Watarai

Committer:
ytsuboi
Date:
Sat Nov 17 14:51:40 2018 +0000
Revision:
3:56fe0b429da9
Parent:
1:194e3cf73e72
Update WS2812 library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MACRUM 0:1f050f0c9bec 1 #include "mbed.h"
MACRUM 1:194e3cf73e72 2 #include "Wio_3G_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 }