Base library for various projects.

Dependents:   LEDFun NetTester

Base library for various projects.

Committer:
Searle95
Date:
Thu Aug 01 12:14:19 2013 +0000
Revision:
2:a3deb705b78e
Parent:
1:a5f21c409f51
Added in a system restart at the end of cycle, version variable added for ease and minor timing changes. Version updated to 1.05.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Searle95 0:a2d01ba1a81b 1 #ifndef FUNCTIONS_H
Searle95 0:a2d01ba1a81b 2 #define FUNCTIONS_H
Searle95 0:a2d01ba1a81b 3
Searle95 0:a2d01ba1a81b 4 class Functions {
Searle95 0:a2d01ba1a81b 5
Searle95 0:a2d01ba1a81b 6 public:
Searle95 1:a5f21c409f51 7
Searle95 0:a2d01ba1a81b 8 /*Display revision details and initialise lcd screen*/
Searle95 0:a2d01ba1a81b 9 void Intro();
Searle95 1:a5f21c409f51 10
Searle95 1:a5f21c409f51 11 /*Take input from pc keyboard through serial and control lcd contrast using 'u' and 'd'*/
Searle95 1:a5f21c409f51 12 void ContrastChange();
Searle95 0:a2d01ba1a81b 13
Searle95 0:a2d01ba1a81b 14 /*Create and display a loading screen*/
Searle95 0:a2d01ba1a81b 15 void Loading();
Searle95 0:a2d01ba1a81b 16
Searle95 1:a5f21c409f51 17 /*Flash LED's to show the reading of packets*/
Searle95 1:a5f21c409f51 18 void ReadLED();
Searle95 1:a5f21c409f51 19
Searle95 1:a5f21c409f51 20 /*Flash LED's to show the end of packet reading*/
Searle95 1:a5f21c409f51 21 void FinishLED();
Searle95 1:a5f21c409f51 22
Searle95 1:a5f21c409f51 23 /*Read incoming broadcast packets and diplay source, desination, buffer and size on pc screen*/
Searle95 1:a5f21c409f51 24 void Packets();
Searle95 1:a5f21c409f51 25
Searle95 1:a5f21c409f51 26 /*Retreive and display current IP address on lcd screen*/
Searle95 1:a5f21c409f51 27 void IPSettings();
Searle95 2:a3deb705b78e 28
Searle95 2:a3deb705b78e 29 /*On z key press restart system*/
Searle95 2:a3deb705b78e 30 void SystemRestart();
Searle95 0:a2d01ba1a81b 31 };
Searle95 0:a2d01ba1a81b 32
Searle95 0:a2d01ba1a81b 33 #endif