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: TS_DISCO_F746NG LCD_DISCO_F746NG BSP_DISCO_F746NG BUTTON_GROUP
Revision 3:7b59a5e25dec, committed 2019-01-28
- Comitter:
- gscuttari
- Date:
- Mon Jan 28 09:28:47 2019 +0000
- Parent:
- 1:f5a3a0a28be5
- Child:
- 4:b412dc13a88e
- Commit message:
- 1
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Jan 28 08:17:20 2019 +0000
+++ b/main.cpp Mon Jan 28 09:28:47 2019 +0000
@@ -2,11 +2,11 @@
//-----------------------------------------------------------------------
// LEZIONE 1
//
-//
-// 28/01/2019, Copyright (c) 2019 SCUOLA PROFESSIONALE L. EINAUDI
-// Beta
-//-----------------------------------------------------------------------
-
+/*
+ 28/01/2019, Copyright (c) 2019 SCUOLA PROFESSIONALE L. EINAUDI
+ Beta
+-----------------------------------------------------------------------
+*/
#include "mbed.h"
#include "button_group.hpp"
#include "TS_DISCO_F746NG.h"
@@ -14,6 +14,17 @@
Serial pc(USBTX, USBRX);
+
+LCD_DISCO_F746NG lcd_;
+TS_DISCO_F746NG ts_;
+
+const uint32_t BACK_COLOR = 0xFF006A6C;
+
+
+void screen_setup_menu(void);
+
+
+
void init_lcd(void)
{
lcd_.Clear(LCD_COLOR_WHITE);
@@ -32,7 +43,7 @@
wait(0.5);
lcd_.SetFont(&Font16);
- screen_setup_menu(void)
+ screen_setup_menu();
}