Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG BUTTON_GROUP LCD_DISCO_F746NG TS_DISCO_F746NG mbed
Revision 1:83147f0d63ea, committed 2015-11-23
- Comitter:
- MikamiUitOpen
- Date:
- Mon Nov 23 09:48:33 2015 +0000
- Parent:
- 0:35af280527cf
- Child:
- 2:b88f2ec606d3
- Commit message:
- 2
Changed in this revision
| BUTTON_GROUP.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/BUTTON_GROUP.lib Mon Nov 23 01:27:04 2015 +0000 +++ b/BUTTON_GROUP.lib Mon Nov 23 09:48:33 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/MikamiUitOpen/code/BUTTON_GROUP/#682475aae171 +http://mbed.org/users/MikamiUitOpen/code/BUTTON_GROUP/#d99d9c0324b7
--- 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);