Boris Vinogradov / Mbed 2 deprecated servo_test

Dependencies:   F746_GUI Servo mbed

Files at this revision

API Documentation at this revision

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");