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
main.cpp@0:3d8edb6d1767, 2015-07-06 (annotated)
- Committer:
- BaserK
- Date:
- Mon Jul 06 07:28:12 2015 +0000
- Revision:
- 0:3d8edb6d1767
- Child:
- 2:31cf8d27ec43
First Release
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
BaserK | 0:3d8edb6d1767 | 1 | #include "mbed.h" |
BaserK | 0:3d8edb6d1767 | 2 | #include "ledControl.h" |
BaserK | 0:3d8edb6d1767 | 3 | #include "led_KnightRider.h" |
BaserK | 0:3d8edb6d1767 | 4 | |
BaserK | 0:3d8edb6d1767 | 5 | int main() { |
BaserK | 0:3d8edb6d1767 | 6 | while(1) { |
BaserK | 0:3d8edb6d1767 | 7 | led_KnightRider(); |
BaserK | 0:3d8edb6d1767 | 8 | } |
BaserK | 0:3d8edb6d1767 | 9 | } |