diff options
Diffstat (limited to 'stm32f091/sensor.c')
-rw-r--r-- | stm32f091/sensor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stm32f091/sensor.c b/stm32f091/sensor.c index fc2fe2a..04181cf 100644 --- a/stm32f091/sensor.c +++ b/stm32f091/sensor.c @@ -2,7 +2,7 @@ #include <task.h> #include <stm32f0xx_hal.h> -#include "main.h" +#include "setup.h" #include "sensor.h" #include "backlog.h" @@ -11,6 +11,8 @@ #define REG_HUM ((uint8_t)(0xF5)) uint8_t ws_sensor_temperature() { + HAL_UART_Transmit(&huart2, (uint8_t * const) "hello world!", 13, 100); + return 0; uint8_t buf[12]; int16_t val; float temp_c; |