2018 revision to classic DataBus AVC code.
Dependencies: LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell
Display/Display.h@44:0d72a8a1288a, 2019-01-07 (annotated)
- Committer:
- shimniok
- Date:
- Mon Jan 07 16:47:33 2019 +0000
- Revision:
- 44:0d72a8a1288a
- Parent:
- 42:8d99f64f5898
Rewrote TinyGPS -> NMEA, GPS::read() now returns struct
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 |