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:
- 1:3fca41f3ed30
- Child:
- 2:65480fe798bf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Functions.h Sun Dec 20 01:16:41 2020 +0000
@@ -0,0 +1,8 @@
+void PressButton()
+{
+ static int ccont=0;
+ led1= !led1;
+ 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