.
Diff: Display.h
- Revision:
- 0:cfa2cc5fc505
- Child:
- 1:1926cb6ea141
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Display.h Tue Jul 28 08:14:46 2015 +0000 @@ -0,0 +1,21 @@ +#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);