2018 revision to classic DataBus AVC code.
Dependencies: LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell
Display/Display.h@42:8d99f64f5898, 2019-01-03 (annotated)
- Committer:
- shimniok
- Date:
- Thu Jan 03 17:50:44 2019 +0000
- Revision:
- 42:8d99f64f5898
- Parent:
- 37:b8259500dbd3
Implemented uart2 bridge for testing
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 | 42:8d99f64f5898 | 13 | void cpu(int idle); |
shimniok | 37:b8259500dbd3 | 14 | void status(char *s); |
shimniok | 37:b8259500dbd3 | 15 | |
shimniok | 37:b8259500dbd3 | 16 | private: |
shimniok | 37:b8259500dbd3 | 17 | SerialGraphicLCD *lcd; |
shimniok | 37:b8259500dbd3 | 18 | |
shimniok | 37:b8259500dbd3 | 19 | }; |
shimniok | 37:b8259500dbd3 | 20 | |
shimniok | 37:b8259500dbd3 | 21 | #endif |