Droni e Droidi / Mbed OS F746NG_TestAll

Dependencies:   TS_DISCO_F746NG LCD_DISCO_F746NG BSP_DISCO_F746NG BUTTON_GROUP Arduino

Functions.h

Committer:
MaxScorda
Date:
2020-12-20
Revision:
1:3fca41f3ed30
Child:
2:65480fe798bf

File content as of revision 1:3fca41f3ed30:

void PressButton()
{
    static int ccont=0;
    led1= !led1;
    ccont++;
    sprintf(str, "Tasto premuto %d volte", ccont);
    BSP_LCD_DisplayStringAt(0, LINE(6), (uint8_t *) str, CENTER_MODE);
}