Commit b5f7fce9aacff092a9b4f2b51785822b037c81bd
1 parent
6826880d
--no commit message
Showing
2 changed files
with
5 additions
and
2 deletions
Project/applications/smartcities/sensors.c
@@ -285,6 +285,9 @@ char* temp_humidity_value(uint16_t temp, uint16_t humidity) | @@ -285,6 +285,9 @@ char* temp_humidity_value(uint16_t temp, uint16_t humidity) | ||
285 | sprintf(value,"%d,%d",temp,humidity); | 285 | sprintf(value,"%d,%d",temp,humidity); |
286 | return value; | 286 | return value; |
287 | } | 287 | } |
288 | +void collecData(char* valueSensors, uint8_t* sensors){ | ||
289 | + | ||
290 | +} | ||
288 | 291 | ||
289 | //light_value(get_light_data()); | 292 | //light_value(get_light_data()); |
290 | //temp_humidity_value(get_temperature_data(),get_humidity_data()); | 293 | //temp_humidity_value(get_temperature_data(),get_humidity_data()); |
291 | \ No newline at end of file | 294 | \ No newline at end of file |
Project/applications/smartcities/timer-loop.c
@@ -2,10 +2,10 @@ | @@ -2,10 +2,10 @@ | ||
2 | #include "libwismart_irqs.h" | 2 | #include "libwismart_irqs.h" |
3 | #include "lwip/inet.h" | 3 | #include "lwip/inet.h" |
4 | 4 | ||
5 | -#define HALF_HOUR 60*3 | 5 | +/*#define HALF_HOUR 60*3 |
6 | #define FIVE_MIN 60*1 | 6 | #define FIVE_MIN 60*1 |
7 | #define LONG_PERIOD HALF_HOUR | 7 | #define LONG_PERIOD HALF_HOUR |
8 | -#define SHORT_PERIOD FIVE_MIN | 8 | +#define SHORT_PERIOD FIVE_MIN*/ |
9 | 9 | ||
10 | void initLibwismart(void) | 10 | void initLibwismart(void) |
11 | { | 11 | { |