![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Ardoise magique
Dependencies: TS_DISCO_F746NG mbed LCD_DISCO_F746NG BSP_DISCO_F746NG BUTTON_GROUP RGB_matrix_Panel
Diff: main.cpp
- Revision:
- 1:83147f0d63ea
- Parent:
- 0:35af280527cf
- Child:
- 2:b88f2ec606d3
diff -r 35af280527cf -r 83147f0d63ea main.cpp --- a/main.cpp Mon Nov 23 01:27:04 2015 +0000 +++ b/main.cpp Mon Nov 23 09:48:33 2015 +0000 @@ -22,9 +22,9 @@ lcd_.Clear(backColor); const int NUMBER_BUTTONS = 4; - string str[NUMBER_BUTTONS] = {"Button1", "Button2", "Button3", "Button4"}; + const string STR[NUMBER_BUTTONS] = {"Button1", "Button2", "Button3", "Button4"}; ButtonGroup bGroup(lcd_, ts_, 10, Y0, 66, 40, - LCD_COLOR_BLUE, backColor, NUMBER_BUTTONS, str, 5, 5, 3); + LCD_COLOR_BLUE, backColor, NUMBER_BUTTONS, STR, 5, 5, 3); Button reset(lcd_, ts_, 410, Y0, 60, 40, LCD_COLOR_BLUE, backColor, "Reset", Font12);