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: F746_GUI Servo mbed
Revision 3:0eb12c3043a3, committed 2018-02-13
- Comitter:
- no111u3
- Date:
- Tue Feb 13 16:45:08 2018 +0000
- Parent:
- 2:20db1e92bcf8
- Child:
- 4:fe83cdd1096f
- Commit message:
- Remove unneeded lcd instance from main.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Feb 12 19:45:55 2018 +0000
+++ b/main.cpp Tue Feb 13 16:45:08 2018 +0000
@@ -8,16 +8,9 @@
DigitalOut led(LED1);
Servo test_servo(D0);
-LCD_DISCO_F746NG lcd;
int main()
{
- lcd.Clear(LCD_COLOR_BLUE);
- lcd.SetFont(&Font24);
-
- lcd.SetBackColor(LCD_COLOR_BLUE);
- lcd.SetTextColor(LCD_COLOR_WHITE);
-
Label title(240, 2,
"Servo - Tester. version: 0.1.0", Label::CENTER, Font16);
Button buttonLed(10, 54, 50, 40, "Led");