diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-05 20:23:58 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-05 20:23:58 +0200 |
commit | 6e63028aec15f93bf82a0452b45a6b4dfec81f05 (patch) | |
tree | 3416de57d96b7bcbcf6504fd209bd38f14cf04eb /stm32f091/main.h | |
parent | 1000c8fd861b046a72bb3957dcc04cd6b28ceede (diff) |
merge bjorn's code
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(); |