Procedura di setup TITA32

Dependencies:   BSP_DISCO_F746NG BUTTON_GROUP LCD_DISCO_F746NG TS_DISCO_F746NG mbed

Fork of F746_ButtonGroup_Demo by 不韋 呂

Revision:
1:83147f0d63ea
Parent:
0:35af280527cf
Child:
2:b88f2ec606d3
--- 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);