Example program for the Seeed EL shield on pins D4-D7
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:05e694b57b6c
- Child:
- 1:b15577bc9bc1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jun 13 13:51:59 2014 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" + +BusOut bus1(D4, D5, D6, D7); + +int main() { + int i; + + while (1) { + for (i=0; i<16; i++) { + bus1 = i; + wait(0.02); + } + } +} \ No newline at end of file