655 B
655 B
McText Library
- The library uses "Left to Right, Top to bottom" scan and "LSB Top" for pixels alignment
Instructions
To use the library you have to have a display driver with a function that paints a single pixel with X and Y coordinates and 0/1 color.
Find "SET A FUNCTION NAME HERE!" text in mctext.c file and change the function name that suits your driver.
Note: it is possible that you will have to change parameters in the function to match your driver.
Note: check the "include" in mctext.h file to match your HAL. (stm32f1xx_hal.h is fo STM32F1 MCU series)
Now use mct_String function to draw a string of text.