A classy affair
Dependencies: mbed mbed-rtos ShiftReg TextLCD
Interface/Interface.hpp@5:20decc99e50c, 2019-04-11 (annotated)
- Committer:
- thomasmorris
- Date:
- Thu Apr 11 11:51:16 2019 +0000
- Revision:
- 5:20decc99e50c
- Parent:
- 4:1ef122d47bf3
Updated Post function
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_ |