.

Dependents:   Drone_Timer

Committer:
Jamestom999
Date:
Thu Jul 30 08:02:38 2015 +0000
Revision:
1:1926cb6ea141
Parent:
0:cfa2cc5fc505
7-seg library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jamestom999 0:cfa2cc5fc505 1 #include "mbed.h"
Jamestom999 0:cfa2cc5fc505 2
Jamestom999 0:cfa2cc5fc505 3 #define BCD_Mode 0x9
Jamestom999 0:cfa2cc5fc505 4 #define Intensity 0xA
Jamestom999 0:cfa2cc5fc505 5 #define ScanLimit 0xB
Jamestom999 0:cfa2cc5fc505 6 #define ShutDown 0xC
Jamestom999 0:cfa2cc5fc505 7 #define DisplayTest 0xF
Jamestom999 0:cfa2cc5fc505 8
Jamestom999 0:cfa2cc5fc505 9 #define Disable 3 //Clears the screen untill otherwise stated
Jamestom999 0:cfa2cc5fc505 10 #define Pause 2 //freezes the timer
Jamestom999 0:cfa2cc5fc505 11 #define Start 1 //Starts the timer counting
Jamestom999 0:cfa2cc5fc505 12 #define Reset 0 //sets timer to 0.00.00
Jamestom999 0:cfa2cc5fc505 13
Jamestom999 0:cfa2cc5fc505 14 #define DPoint 0x80
Jamestom999 0:cfa2cc5fc505 15
Jamestom999 0:cfa2cc5fc505 16 void SendData(int data, int address);
Jamestom999 0:cfa2cc5fc505 17 void DisplayClear(void);
Jamestom999 0:cfa2cc5fc505 18 void DisplayBCD(int state);
Jamestom999 0:cfa2cc5fc505 19 void DisplayUpdate(void);
Jamestom999 0:cfa2cc5fc505 20 void DisplayScroll(char data[40]);
Jamestom999 0:cfa2cc5fc505 21 void DisplayInit(void);
Jamestom999 1:1926cb6ea141 22 void DisplayNumber(char n1,char n2,char n3,char n4,char n5);