13 lines
655 B
Markdown
13 lines
655 B
Markdown
# 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.<br>
|
|
Find "SET A FUNCTION NAME HERE!" text in *mctext.c* file and change the function name that suits your driver.<br>
|
|
**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. |