BTS SNEC Menus

Dependencies:   mbed C12832

Files at this revision

API Documentation at this revision

Comitter:
rtk
Date:
Tue Oct 06 15:46:06 2015 +0000
Parent:
3:ff19aac2a59c
Child:
5:d879f538c159
Commit message:
TP3 BTS SNEC Amiens

Changed in this revision

C12832.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C12832.lib	Tue Oct 06 15:46:06 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/askksa12543/code/C12832/#990d5eec2ef6
--- a/main.cpp	Fri Aug 01 14:31:22 2014 +0000
+++ b/main.cpp	Tue Oct 06 15:46:06 2015 +0000
@@ -1,23 +1,15 @@
 #include "mbed.h"
-
-DigitalOut red_led(D5);
-DigitalOut blue_led(D8);
-DigitalOut green_led(D9);
+#include "C12832.h"
 
 DigitalIn up(A2);
-DigitalIn down(A3);
-DigitalIn left(A4);
-AnalogIn right(A5);
-DigitalIn fire(D4);
+
 
 
 int main()
 {
 
     while (1) {
-        red_led =  !up && ! fire;
-        blue_led = !down;
-        green_led= !left && !right;
+       
     }
 }