GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

Revision:
5:92cdff7fb885
Child:
8:d8bc78bda829
diff -r 0ed77d8b3e42 -r 92cdff7fb885 display.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/display.h	Thu Feb 22 02:01:05 2018 +0000
@@ -0,0 +1,29 @@
+/******************************************************************************
+* EECS 397
+*
+* Assignment Name: Lab 4: display_test2
+* 
+* Authors: Sam Morrison and Phong Nguyen 
+* File name: display.h
+* Purpose: Contain function prototypes and consant variable
+* 
+* Created: 02/21/2018
+* Last Modified: 02/21/2018
+*
+******************************************************************************/
+#ifndef DISPLAY_H
+#define DISPLAY_H
+
+#include "mbed.h"
+
+#define CHIP_SELECT PC_7
+#define MOSI PA_7
+#define MISO PA_6
+#define SCLK PA_5
+
+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