Jenny Plunkett / Mbed 2 deprecated LED_bar_Simon_Says

Dependencies:   LED_Bar mbed

You are viewing an older revision! See the latest version

Homepage

Table of Contents

    Components Used

    Platform: ST-Nucleo-F401RE

    As an expansion board, Base Shield v2 has many Grove connectors, making it convenient for you to use Grove products together
    Digital on / off buzzer
    Seeed Grove Button module with digital interface
    The Grove LED Bar is comprised of a 10 segment LED gauge bar and an MY9221 LED controlling chip.

    Component Configuration

    LED_Bar mid(D6, D5);    //D5
    LED_Bar right(D8, D7);  //D7
    LED_Bar left(D4, D3);   //D3
    InterruptIn button_left(A2);
    InterruptIn button_mid(A1);
    InterruptIn button_right(A0);
    DigitalOut buzzer(D2);
    

    All wikipages