Writing on segment display with STM32F103C8 + TM1809

Job ID: 34133643

Budget: $10 – $30 USD

I have a custom board of STM32F103 connected to another board of 4 TM1809-s chained after each other, all connected to different segments of LED segment display. I want a code written in HAL (Using CubeMX), that will take any number from 0-9999 and output it on the display, the code must be able to do count up or down the number while outputting it as well. I can provide all the connections of segments and mcu.
Most importantly, the code shouldn't have a problem when imported into another a project.
Related categories: C Programming STM32