mctext lib update

This commit is contained in:
2025-07-19 08:11:56 +03:00
parent e76132cadb
commit 1852c697fc
2 changed files with 49 additions and 18 deletions

View File

@@ -2,17 +2,20 @@
* mctext.h
*
* Created on: May 16, 2025
* Author: User
* Author: Anton Mukhin
*/
#ifndef INC_MCTEXT_H_
#define INC_MCTEXT_H_
#include "stm32f1xx_hal.h"
#include "stm32g0xx_hal.h"
// Draw a single character. Returns width of drawn character
uint8_t mct_CharT(uint8_t x, uint8_t y, unsigned char c, uint8_t color, const uint8_t *font, uint8_t transp);
// Draw a single character. Transparent background. Returns width of drawn character
uint8_t mct_Char(uint8_t x, uint8_t y, unsigned char c, uint8_t color, const uint8_t *font);
// Draw a string of characters