Version 5
Dependencies: BMP280 TextLCD BME280
main.cpp@5:f87129ac8bf3, 2018-11-29 (annotated)
- Committer:
- O_Thom
- Date:
- Thu Nov 29 16:08:28 2018 +0000
- Revision:
- 5:f87129ac8bf3
- Parent:
- 4:740cba3f2716
- Child:
- 6:b7f6e0c0f646
Commit before change from sample message class to typedef struct
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
O_Thom | 5:f87129ac8bf3 | 1 | #include "mbed.h" |
O_Thom | 0:f9a18207d99c | 2 | #include "sample_hardware.hpp" |
O_Thom | 0:f9a18207d99c | 3 | #include "Sampler.hpp" |
O_Thom | 5:f87129ac8bf3 | 4 | #include "LCD.hpp" |
O_Thom | 5:f87129ac8bf3 | 5 | #include "message.hpp" |
O_Thom | 5:f87129ac8bf3 | 6 | |
O_Thom | 5:f87129ac8bf3 | 7 | sample_message message; |
O_Thom | 5:f87129ac8bf3 | 8 | |
O_Thom | 5:f87129ac8bf3 | 9 | Thread tLCD; |
O_Thom | 5:f87129ac8bf3 | 10 | Thread tSAMP; |
O_Thom | 0:f9a18207d99c | 11 | |
O_Thom | 0:f9a18207d99c | 12 | |
O_Thom | 0:f9a18207d99c | 13 | |
O_Thom | 0:f9a18207d99c | 14 | int main() |
O_Thom | 0:f9a18207d99c | 15 | { |
O_Thom | 4:740cba3f2716 | 16 | |
O_Thom | 5:f87129ac8bf3 | 17 | tLCD.start(LCD_Thread); |
O_Thom | 5:f87129ac8bf3 | 18 | tSAMP.start(SAMP_Thread); |
O_Thom | 5:f87129ac8bf3 | 19 | Thread::wait(osWaitForever); |
O_Thom | 0:f9a18207d99c | 20 | } |
O_Thom | 2:38d31b2e0956 | 21 |