mbed-os-example-blinky_EinkShield

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

Homepage

Table of Contents

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

    All wikipages