.

Dependents:   Drone_Timer

Display.h

Committer:
Jamestom999
Date:
2015-07-28
Revision:
0:cfa2cc5fc505
Child:
1:1926cb6ea141

File content as of revision 0:cfa2cc5fc505:

#include "mbed.h"

#define BCD_Mode    0x9
#define Intensity   0xA
#define ScanLimit   0xB
#define ShutDown    0xC
#define DisplayTest 0xF

#define Disable 3 //Clears the screen untill otherwise stated
#define Pause   2 //freezes the timer
#define Start   1 //Starts the timer counting
#define Reset   0 //sets timer to 0.00.00

#define DPoint      0x80

void SendData(int data, int address);
void DisplayClear(void);
void DisplayBCD(int state);
void DisplayUpdate(void);
void DisplayScroll(char data[40]);
void DisplayInit(void);