GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

Committer:
phn10
Date:
Thu Feb 22 02:01:05 2018 +0000
Revision:
5:92cdff7fb885
Child:
8:d8bc78bda829
initiate header file display.h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
phn10 5:92cdff7fb885 1 /******************************************************************************
phn10 5:92cdff7fb885 2 * EECS 397
phn10 5:92cdff7fb885 3 *
phn10 5:92cdff7fb885 4 * Assignment Name: Lab 4: display_test2
phn10 5:92cdff7fb885 5 *
phn10 5:92cdff7fb885 6 * Authors: Sam Morrison and Phong Nguyen
phn10 5:92cdff7fb885 7 * File name: display.h
phn10 5:92cdff7fb885 8 * Purpose: Contain function prototypes and consant variable
phn10 5:92cdff7fb885 9 *
phn10 5:92cdff7fb885 10 * Created: 02/21/2018
phn10 5:92cdff7fb885 11 * Last Modified: 02/21/2018
phn10 5:92cdff7fb885 12 *
phn10 5:92cdff7fb885 13 ******************************************************************************/
phn10 5:92cdff7fb885 14 #ifndef DISPLAY_H
phn10 5:92cdff7fb885 15 #define DISPLAY_H
phn10 5:92cdff7fb885 16
phn10 5:92cdff7fb885 17 #include "mbed.h"
phn10 5:92cdff7fb885 18
phn10 5:92cdff7fb885 19 #define CHIP_SELECT PC_7
phn10 5:92cdff7fb885 20 #define MOSI PA_7
phn10 5:92cdff7fb885 21 #define MISO PA_6
phn10 5:92cdff7fb885 22 #define SCLK PA_5
phn10 5:92cdff7fb885 23
phn10 5:92cdff7fb885 24 void mod_bcd(int num);
phn10 5:92cdff7fb885 25 int convert(int dec);
phn10 5:92cdff7fb885 26 char to_command(char input, int place);
phn10 5:92cdff7fb885 27
phn10 5:92cdff7fb885 28
phn10 5:92cdff7fb885 29 #endif /*DISPLAY_H */