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@3:3700f0c29710, 2019-04-10 (annotated)
- Committer:
- thomasmorris
- Date:
- Wed Apr 10 11:33:32 2019 +0000
- Revision:
- 3:3700f0c29710
- Child:
- 4:1ef122d47bf3
A classy afair
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 | 3:3700f0c29710 | 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 | 3:3700f0c29710 | 22 | //Public Functions |
| thomasmorris | 3:3700f0c29710 | 23 | |
| thomasmorris | 3:3700f0c29710 | 24 | //Public Variabls |
| thomasmorris | 3:3700f0c29710 | 25 | |
| thomasmorris | 3:3700f0c29710 | 26 | private://Private member functions and variables |
| thomasmorris | 3:3700f0c29710 | 27 | |
| thomasmorris | 3:3700f0c29710 | 28 | //Private Functions |
| thomasmorris | 3:3700f0c29710 | 29 | |
| thomasmorris | 3:3700f0c29710 | 30 | //Private Variables |
| thomasmorris | 3:3700f0c29710 | 31 | |
| thomasmorris | 3:3700f0c29710 | 32 | |
| thomasmorris | 3:3700f0c29710 | 33 | }; |
| thomasmorris | 3:3700f0c29710 | 34 | #endif //_INTERFACE_HPP_ |