This is a modular blinky code that implements a moving led pattern. This example project can be used as a template for the modular projects.
Dependencies: ledControl led_KnightRider mbed
Diff: main.cpp
- Revision:
- 0:3d8edb6d1767
- Child:
- 2:31cf8d27ec43
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Jul 06 07:28:12 2015 +0000 @@ -0,0 +1,9 @@ +#include "mbed.h" +#include "ledControl.h" +#include "led_KnightRider.h" + +int main() { + while(1) { + led_KnightRider(); + } +}