STM32 HAL library example
This commit is contained in:
21
STM32_HAL_Lib/mctext.h
Normal file
21
STM32_HAL_Lib/mctext.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* mctext.h
|
||||
*
|
||||
* Created on: May 16, 2025
|
||||
* Author: User
|
||||
*/
|
||||
|
||||
#ifndef INC_MCTEXT_H_
|
||||
#define INC_MCTEXT_H_
|
||||
|
||||
#include "stm32f1xx_hal.h"
|
||||
|
||||
|
||||
|
||||
// Draw a single character. 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
|
||||
void mct_String(uint8_t x, uint8_t y, const char *c, uint8_t color, const uint8_t *font);
|
||||
|
||||
#endif /* INC_MCTEXT_H_ */
|
Reference in New Issue
Block a user