GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

Revision:
8:d8bc78bda829
Parent:
5:92cdff7fb885
Child:
10:ae0a262ba48d
diff -r 161fe3793ddb -r d8bc78bda829 display.h
--- a/display.h	Thu Feb 22 02:06:07 2018 +0000
+++ b/display.h	Thu Feb 22 03:10:01 2018 +0000
@@ -15,15 +15,14 @@
 #define DISPLAY_H
 
 #include "mbed.h"
+#include "io_pins.h"
 
-#define CHIP_SELECT PC_7
-#define MOSI PA_7
-#define MISO PA_6
-#define SCLK PA_5
+extern SPI spi;
+extern int bcd[4];
 
+void initial_setup(DigitalOut SS, int data_length, int spi_frequency);
 void mod_bcd(int num);
 int convert(int dec);
 char to_command(char input, int place);
 
-
 #endif /*DISPLAY_H */
\ No newline at end of file