The original library for controlling these displays is a modified version of the following, the files are included here next to the ino To get this to work you also need STM32Duino, this was written for the STM32U08 https://github.com/Andy4495/HCMS39xx