https://deepbluembedded.com/stm32-i2c-scanner-hal-code-example/
STM32 I2C Scanner HAL Code Example