Example program for the Seeed EL shield on pins D4-D7

Dependencies:   mbed

main.cpp

Committer:
screamer
Date:
2014-06-13
Revision:
0:05e694b57b6c
Child:
1:b15577bc9bc1

File content as of revision 0:05e694b57b6c:

#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);
        }
    }
}