Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Lab_6_WaG by
display.h
- Committer:
- phn10
- Date:
- 2018-02-22
- Revision:
- 5:92cdff7fb885
- Child:
- 8:d8bc78bda829
File content as of revision 5:92cdff7fb885:
/****************************************************************************** * 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 */