E Ink / Mbed OS mbed-os-example-blinky_EinkShield

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

/media/uploads/jauming/blinky.png

Pinout

/media/uploads/jauming/mbed_pinout_v05.png

led blink example

#include "mbed.h"

DigitalOut einkshield_led1(D7);

// main() runs in its own thread in the OS
int main() {
    while (true) {
        einkshield_led1 = !einkshield_led1;
        wait(0.5);
    }
}

Revision:
1:846c97078558
Parent:
0:2757d7abb7d9
Child:
3:297fe5b2279f
--- a/README.md	Thu Jul 28 13:52:35 2016 +0100
+++ b/README.md	Thu Jul 28 16:32:52 2016 +0100
@@ -41,7 +41,7 @@
 Total Static RAM memory (data + bss): 7168 bytes
 Total RAM memory (data + bss + heap + stack): 7168 bytes
 Total Flash memory (text + data + misc): 43402 bytes
-Image: .\.build\K64F\ARM\mbed-os-example-blinky.bin             
+Image: .\.build\K64F\ARM\mbed-os-example-blinky.bin
 ```
 
 ### Program your board
@@ -59,7 +59,7 @@
 From the command line, run the following command:
 
 ```
-mbed export -m K64F -i uvision -n mbed-os-example-blinky
+mbed export -m K64F -i uvision
 ```
 
 You should see the following output: