Early commits of my project

Dependencies:   mbed Gamepad N5110

Revision:
4:e7215819c9bc
Parent:
3:140cad440684
Child:
5:f09602591ad3
--- a/main.cpp	Tue Mar 12 00:21:58 2019 +0000
+++ b/main.cpp	Tue Mar 12 09:45:03 2019 +0000
@@ -5,7 +5,6 @@
 Gamepad pad;
 N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); 
 AnalogIn pot0(PTB2);
-BusOut front_leds(PTA1,PTA2,PTC2,PTC3,PTC4, PTD3);
 
 int x = 0;
 int y = 0;
@@ -16,10 +15,9 @@
     init();
 
     while (1) {
+      
         contrast();
         minerbitmap();
-        
-        
     }
     
 }
@@ -30,8 +28,8 @@
     lcd.normalMode();      // normal colour mode
     lcd.setBrightness(0.5); // put LED backlight on 50%
     lcd.refresh();
-    
-    front_leds = 0b111111;
+    Gamepad gamepad;
+    gamepad.leds_off();
 }
 
 void contrast()
@@ -40,6 +38,7 @@
     float con = pot0.read();
     lcd.setContrast(con);
     
+    
 }
 
 void minerbitmap()