joystick control added to lab1

Dependencies:   mbed mbed-rtos C12832_lcd LCD_fonts

Files at this revision

API Documentation at this revision

Comitter:
kevinsullivan
Date:
Wed Aug 05 13:50:24 2020 +0000
Parent:
4:6a40458b8747
Commit message:
lab1 wint joystick control added

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Aug 05 13:38:19 2020 +0000
+++ b/main.cpp	Wed Aug 05 13:50:24 2020 +0000
@@ -12,13 +12,10 @@
 
 // LCD object
 C12832_LCD LCD;
-
 AnalogIn Pot1(p19);
 AnalogIn Pot2(p20);
-
 BusIn joy(p15,p12,p13,p16);
 DigitalIn fire(p14);
-
 BusOut leds(LED1,LED2,LED3,LED4);
 
 // mutex to make the lcd lib thread save