Lab 6 code.

Dependencies:   mbed

Fork of WaG by GroupA

Revision:
39:abf211b17e3c
Parent:
23:3da1d39c1ae9
Child:
42:6cba679a4ee4
--- a/io_pins.h	Fri Mar 23 19:32:39 2018 +0000
+++ b/io_pins.h	Fri Mar 23 20:16:24 2018 +0000
@@ -11,6 +11,8 @@
 * Last Modified: 03/08/2018
 *
 ******************************************************************************/
+#ifndef IO_PINS_H
+#define IO_PINS_H
 
 //SPI
 #define MISO PA_6
@@ -26,17 +28,21 @@
 
 //Display
 #define DSP_AS1107_NCS PC_7
+#define SPI_MOSI PA_7
+#define SPI_SCLK PA_5
 
 //Analog
 #define MUX_S0 PC_6
 #define MUX_S1 PB_15
 #define MUX_S2 PB_13
 #define MUX_S3 PB_12
-#define MUX_OUT PC_1
+#define MUX_OUT PB_1
 
 //UI
 #define UI_CAL_BUTTON PG_9
 #define UI_START_BUTTON PG_14
 #define UI_STATION_SELECT PF_15
 #define UI_JOG_LEFT_BUTTON PE_13
-#define UI_JOG_RIGHT_BUTTON PF_14
\ No newline at end of file
+#define UI_JOG_RIGHT_BUTTON PF_14
+
+#endif
\ No newline at end of file