Customer:
I have the Ultrasonic-Sensor-Board 333001 with HC-SR04 and easyC. I haven’t found any description for the I2C communication protocol. I need to use a STM32 microcontroller instead of Arduino. Can you provide documentation for the I2C protocol?
Originally submitted via email support on 11 December 2024. Migrated to the forum for community visibility.
Soldered Support:
There is no dedicated I2C documentation available, but you can refer to the library to see how the various functionalities are implemented. An example is available for Arduino.
For STM, you will need to provide low-level functions for sending and receiving data via I2C, but you can use other functions from the library.
You can also review the ATtiny firmware for this board for further guidance: