Network, SD, Readall. comments added
Dependencies: Peripherals Buffer_lib_v2 SD_Lib_EffedUP_ERP Time_Lib_v2 Year3_Version5 BMP280 Network_Lib TextLCD BME280
Diff: main.cpp
- Revision:
- 28:fb88aeb3551e
- Parent:
- 25:1f5b1ce3d65c
diff -r c962d361a202 -r fb88aeb3551e main.cpp --- a/main.cpp Wed Jan 23 10:43:04 2019 +0000 +++ b/main.cpp Wed Jan 23 11:43:32 2019 +0000 @@ -11,12 +11,6 @@ //Serial pc(SERIAL_TX, SERIAL_RX); -time_t currentTime; -Mutex date_mutex; -int setting; -int t; - - Thread sensor_thread(osPriorityRealtime); //sensor thread is highest priority Thread serial_thread(osPriorityNormal); @@ -26,12 +20,6 @@ Thread Print_thread(osPriorityNormal); -//LDR sensor -AnalogIn LDD_ADC_In(A1); -float fLDR = 0.0; -float volts = 0.0; - - //Main thread int main() {