diff options
Diffstat (limited to 'stm32f091/main.h')
-rw-r--r-- | stm32f091/main.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/stm32f091/main.h b/stm32f091/main.h new file mode 100644 index 0000000..7c13733 --- /dev/null +++ b/stm32f091/main.h @@ -0,0 +1,12 @@ +#pragma once + +#include <stm32f0xx_hal_i2c.h> +#include <stm32f0xx_hal_uart.h> + +#define hi2c1 hi2c2 + +extern I2C_HandleTypeDef hi2c2; +extern UART_HandleTypeDef huart2; + +void task_1(); +int main(); |