![](/media/cache/profiles/ba5be68d3d541f2ca043d77fc54fe702.jpg.50x50_q85.jpg)
3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Diff: main.cpp
- Branch:
- feature/listSizeLimit
- Revision:
- 53:abb161ed4c8c
- Parent:
- 52:b95572c3d4c4
- Child:
- 54:53ee2d07d684
--- a/main.cpp Thu Apr 06 19:31:43 2017 +0000 +++ b/main.cpp Thu Apr 06 19:42:34 2017 +0000 @@ -19,11 +19,11 @@ // MAKE SURE ONE OF THESE IS COMMENTED OUT // Real sensor -LPS25H barometer(i2c2, LPS25H_V_CHIP_ADDR); -HTS221 measurer(I2C_SDA, I2C_SCL); +//LPS25H barometer(i2c2, LPS25H_V_CHIP_ADDR); +//HTS221 measurer(I2C_SDA, I2C_SCL); // Fake sensor -//FakeBarometer barometer(1029.0, 1031.0); -//FakeMeasurer measurer(20.0, 25.0, 30.0, 50.0); +FakeBarometer barometer(1029.0, 1031.0); +FakeMeasurer measurer(20.0, 25.0, 30.0, 50.0); //Threads @@ -295,7 +295,7 @@ //Initialize stuff measurer.init(); measurer.calib(); - listBuffer = new LinkedList(50); + listBuffer = new LinkedList(120); localDate = new LocalDate(); //Start message printf("Welcome\r\n");