Integrating Grove LED Matrix Driver HT16K33 Library with STM32CubeIDE

Hello SeeedStudio Community,

I’m currently working on an STM32 project in STM32CubeIDE and need assistance integrating the Grove LED Matrix Driver (HT16K33) library for a Grove 8x8 LED matrix. I’ve downloaded the Grove_LED_Matrix_Driver_HT16K33 library, but I’m facing challenges getting it to work on the STM32 platform.

  • I’ve placed the library files in the Src directory of my STM32 project.
  • Configured I2C in STM32CubeIDE, but I’m uncertain if I need to manually adjust the I2C address or do additional configurations for the STM32 to recognize the matrix on the bus.
  • I tried including the main header file (Grove_LED_Matrix_Driver_HT16K33.h) in main.c, but I keep getting compilation errors, particularly with I2Cdev.h. It seems to be designed specifically for Arduino??, which is causing compatibility issues on the STM32 platform.

I am completely new to the microcontroller game. sorry if i sound stupid

Yes. It is not very easy to port it to STM32 platform.