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 mbed-rtos ShiftReg TextLCD
Interface/Interface.hpp@4:1ef122d47bf3, 2019-04-11 (annotated)
- Committer:
- thomasmorris
- Date:
- Thu Apr 11 11:37:39 2019 +0000
- Revision:
- 4:1ef122d47bf3
- Parent:
- 3:3700f0c29710
- Child:
- 6:347c1f441b94
A very classy affair
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 3:3700f0c29710 | 1 | #ifndef _INTERFACE_HPP_ |
thomasmorris | 3:3700f0c29710 | 2 | #define _INTERFACE_HPP_ |
thomasmorris | 3:3700f0c29710 | 3 | |
thomasmorris | 3:3700f0c29710 | 4 | #include "mbed.h" |
thomasmorris | 3:3700f0c29710 | 5 | #include "rtos.h" |
thomasmorris | 3:3700f0c29710 | 6 | #include "TextLCD.h" |
thomasmorris | 3:3700f0c29710 | 7 | |
thomasmorris | 3:3700f0c29710 | 8 | //Libraries and header file includes |
thomasmorris | 3:3700f0c29710 | 9 | |
thomasmorris | 3:3700f0c29710 | 10 | |
thomasmorris | 3:3700f0c29710 | 11 | extern Serial PC; //TX, RX |
thomasmorris | 4:1ef122d47bf3 | 12 | extern TextLCD Lcd; // rs, e, d4-d7 |
thomasmorris | 3:3700f0c29710 | 13 | |
thomasmorris | 3:3700f0c29710 | 14 | class INTERFACE |
thomasmorris | 3:3700f0c29710 | 15 | { |
thomasmorris | 3:3700f0c29710 | 16 | public://Public member functions and variables |
thomasmorris | 3:3700f0c29710 | 17 | INTERFACE(); |
thomasmorris | 3:3700f0c29710 | 18 | ~INTERFACE(); |
thomasmorris | 3:3700f0c29710 | 19 | void Init(); |
thomasmorris | 3:3700f0c29710 | 20 | int Post(); |
thomasmorris | 3:3700f0c29710 | 21 | void Serial(); |
thomasmorris | 4:1ef122d47bf3 | 22 | void LCD(); |
thomasmorris | 3:3700f0c29710 | 23 | //Public Functions |
thomasmorris | 3:3700f0c29710 | 24 | |
thomasmorris | 3:3700f0c29710 | 25 | //Public Variabls |
thomasmorris | 3:3700f0c29710 | 26 | |
thomasmorris | 3:3700f0c29710 | 27 | private://Private member functions and variables |
thomasmorris | 3:3700f0c29710 | 28 | |
thomasmorris | 3:3700f0c29710 | 29 | //Private Functions |
thomasmorris | 3:3700f0c29710 | 30 | |
thomasmorris | 3:3700f0c29710 | 31 | //Private Variables |
thomasmorris | 3:3700f0c29710 | 32 | |
thomasmorris | 3:3700f0c29710 | 33 | |
thomasmorris | 3:3700f0c29710 | 34 | }; |
thomasmorris | 3:3700f0c29710 | 35 | #endif //_INTERFACE_HPP_ |