1
0
forked from me/IronOS

Add buzzer beep when at temperature 🎵

This commit is contained in:
Ben V. Brown
2021-05-05 19:19:00 +10:00
parent 79fa47eb16
commit 1b3445cefa
3 changed files with 28 additions and 6 deletions

View File

@@ -31,6 +31,9 @@
#define PWM_Out_Pin GPIO_PIN_6
#define PWM_Out_GPIO_Port GPIOA
#define PWM_Out_CHANNEL TIM_CHANNEL_1
#define BUZZER_Pin GPIO_PIN_7
#define BUZZER_GPIO_Port GPIOA
#define BUZZER_CHANNEL TIM_CHANNEL_2
#define SCL_Pin GPIO_PIN_6
#define SCL_GPIO_Port GPIOB
#define SDA_Pin GPIO_PIN_7