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 Arduino
Diff: Functions.h
- Revision:
 - 2:65480fe798bf
 - Parent:
 - 1:3fca41f3ed30
 - Child:
 - 3:e7e663758e6d
 
--- a/Functions.h	Sun Dec 20 01:16:41 2020 +0000
+++ b/Functions.h	Sun Dec 20 01:41:00 2020 +0000
@@ -1,3 +1,6 @@
+#ifndef FUNCTIONS_H
+#define FUNCTIONS_H
+
 void PressButton()
 {
     static int ccont=0;
@@ -5,4 +8,6 @@
     ccont++;
     sprintf(str, "Tasto premuto %d volte", ccont);
     BSP_LCD_DisplayStringAt(0, LINE(6), (uint8_t *) str, CENTER_MODE);
-}
\ No newline at end of file
+}
+
+#endif
\ No newline at end of file