ELEC2645 (2018/19) / Mbed 2 deprecated el17aio

Dependencies:   mbed

Revision:
1:9835d6304284
Parent:
0:0d446aab48a6
Child:
2:66a4e5d7a7cd
diff -r 0d446aab48a6 -r 9835d6304284 main.cpp
--- a/main.cpp	Wed Feb 20 11:50:27 2019 +0000
+++ b/main.cpp	Wed Feb 27 05:40:31 2019 +0000
@@ -6,4 +6,26 @@
 Username: el17aio
 Student ID Number: 201157039
 Date: 20/02/2019
-*/
\ No newline at end of file
+*/
+
+DigitalIn a_button(PTB9);
+DigitalIn b_button(PTD0);
+DigitalIn x_button(PTC17);
+DigitalIn y_button(PTC12);
+DigitalIn l_button(PTB18);
+DigitalIn r_button(PTB3);
+DigitalIn back_button(PTB19);
+DigitalIn start_button(PTC5);
+
+N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
+BusOut leds;
+
+AnalogIn pot;
+
+Tone dac;
+ShiftReg shift;
+
+// function prototypes
+init();
+print_menu();
+welcome();
\ No newline at end of file