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:
- spm71
- Date:
- 2018-03-29
- Revision:
- 42:6cba679a4ee4
- Parent:
- 23:3da1d39c1ae9
File content as of revision 42:6cba679a4ee4:
/******************************************************************************
* EECS 397
*
* Assignment Name: Lab 6: WaG
*
* Authors: Sam Morrison and Phong Nguyen
* File name: display.h
* Purpose: Contain function prototypes and consant variable
*
* Created: 03/01/2018
* Last Modified: 03/29/2018
*
******************************************************************************/
#ifndef DISPLAY_H
#define DISPLAY_H
#include "mbed.h"
#include "io_pins.h"
extern SPI spi;
extern int bcd[4];
extern Serial pc;
extern DigitalOut SS;
void initial_setup(struct spi_cfg spi_obj);
void bin2bcd_array(int num, char bcd[]);
void send_command_to_display(char bcd[]);
void test_target_leds();
#endif /*DISPLAY_H */
