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

Dependencies:   mbed

main.cpp

Committer:
screamer
Date:
2014-07-25
Revision:
1:b15577bc9bc1
Parent:
0:05e694b57b6c
Child:
2:1d128bca7a6f

File content as of revision 1:b15577bc9bc1:

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