diff --git a/Project/applications/smartcities/sensors.c b/Project/applications/smartcities/sensors.c index 61356da..944609d 100644 --- a/Project/applications/smartcities/sensors.c +++ b/Project/applications/smartcities/sensors.c @@ -285,6 +285,9 @@ char* temp_humidity_value(uint16_t temp, uint16_t humidity) sprintf(value,"%d,%d",temp,humidity); return value; } +void collecData(char* valueSensors, uint8_t* sensors){ + +} //light_value(get_light_data()); //temp_humidity_value(get_temperature_data(),get_humidity_data()); \ No newline at end of file diff --git a/Project/applications/smartcities/timer-loop.c b/Project/applications/smartcities/timer-loop.c index fba450f..deb75ec 100644 --- a/Project/applications/smartcities/timer-loop.c +++ b/Project/applications/smartcities/timer-loop.c @@ -2,10 +2,10 @@ #include "libwismart_irqs.h" #include "lwip/inet.h" -#define HALF_HOUR 60*3 +/*#define HALF_HOUR 60*3 #define FIVE_MIN 60*1 #define LONG_PERIOD HALF_HOUR -#define SHORT_PERIOD FIVE_MIN +#define SHORT_PERIOD FIVE_MIN*/ void initLibwismart(void) {