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
Functions.h@1:3fca41f3ed30, 2020-12-20 (annotated)
- Committer:
- MaxScorda
- Date:
- Sun Dec 20 01:16:41 2020 +0000
- Revision:
- 1:3fca41f3ed30
- Child:
- 2:65480fe798bf
First rev.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| MaxScorda | 1:3fca41f3ed30 | 1 | void PressButton() |
| MaxScorda | 1:3fca41f3ed30 | 2 | { |
| MaxScorda | 1:3fca41f3ed30 | 3 | static int ccont=0; |
| MaxScorda | 1:3fca41f3ed30 | 4 | led1= !led1; |
| MaxScorda | 1:3fca41f3ed30 | 5 | ccont++; |
| MaxScorda | 1:3fca41f3ed30 | 6 | sprintf(str, "Tasto premuto %d volte", ccont); |
| MaxScorda | 1:3fca41f3ed30 | 7 | BSP_LCD_DisplayStringAt(0, LINE(6), (uint8_t *) str, CENTER_MODE); |
| MaxScorda | 1:3fca41f3ed30 | 8 | } |