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: LCD_DISCO_F746NG BSP_DISCO_F746NG Graphics
Diff: main.cpp
- Revision:
- 4:fae33fe59116
- Parent:
- 3:297f513b26fe
--- a/main.cpp Mon Aug 26 22:24:04 2019 +0700
+++ b/main.cpp Mon Aug 26 16:32:05 2019 +0000
@@ -30,9 +30,9 @@
graphics.SetActiveLayer(Foreground);
- graphics.SetBackColor(LCD_COLOR_BLACK);
- graphics.SetTextColor(LCD_COLOR_LIGHTGRAY);
- graphics.DisplayStringAt(10, 10, (unsigned char*)TITLE, CENTER_MODE);
+ lcd.SetBackColor(LCD_COLOR_BLACK);
+ lcd.SetTextColor(LCD_COLOR_LIGHTGRAY);
+ lcd.DisplayStringAt(10, 10, (unsigned char*)"SignalProcess", CENTER_MODE);
@@ -42,7 +42,7 @@
while (true) {
// Blink LED and wait 0.5 seconds
led1 = !led1;
- thread_sleep_for(SLEEP_TIME);
+ wait_ms(SLEEP_TIME);
// xrand = 10 + std::rand()%470;
// yrand = 10 + std::rand()%262;