2018 revision to classic DataBus AVC code.
Dependencies: LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell
Display/Display.h@37:b8259500dbd3, 2019-01-02 (annotated)
- Committer:
- shimniok
- Date:
- Wed Jan 02 18:20:47 2019 +0000
- Revision:
- 37:b8259500dbd3
- Child:
- 42:8d99f64f5898
Implemented LCD display abstraction
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimniok | 37:b8259500dbd3 | 1 | #ifndef __DISPLAY_H |
shimniok | 37:b8259500dbd3 | 2 | #define __DISPLAY_H |
shimniok | 37:b8259500dbd3 | 3 | |
shimniok | 37:b8259500dbd3 | 4 | #include "mbed.h" |
shimniok | 37:b8259500dbd3 | 5 | #include "SystemState.h" |
shimniok | 37:b8259500dbd3 | 6 | #include "SerialGraphicLCD.h" |
shimniok | 37:b8259500dbd3 | 7 | |
shimniok | 37:b8259500dbd3 | 8 | class Display { |
shimniok | 37:b8259500dbd3 | 9 | public: |
shimniok | 37:b8259500dbd3 | 10 | Display(PinName tx, PinName rx); |
shimniok | 37:b8259500dbd3 | 11 | void gps(GpsData d); |
shimniok | 37:b8259500dbd3 | 12 | void imu(SensorData d); |
shimniok | 37:b8259500dbd3 | 13 | void status(char *s); |
shimniok | 37:b8259500dbd3 | 14 | |
shimniok | 37:b8259500dbd3 | 15 | private: |
shimniok | 37:b8259500dbd3 | 16 | SerialGraphicLCD *lcd; |
shimniok | 37:b8259500dbd3 | 17 | |
shimniok | 37:b8259500dbd3 | 18 | }; |
shimniok | 37:b8259500dbd3 | 19 | |
shimniok | 37:b8259500dbd3 | 20 | #endif |