Example source code for I2C character LCD module AQM1602 using STM32 MCU. This code uses the non-blocking(interrupt) function of I2C, so it is no need to take much CPU resource to drive AQM1602.
System Workbench for STM32 (SW4STM32) + STM32CubeMX + STM32CubeF4