Файлы структурированы как в readme

This commit is contained in:
2025-02-20 18:39:34 +03:00
parent 58be5b4d6b
commit 1b63defd86
20 changed files with 893 additions and 911 deletions

View File

@@ -3,7 +3,7 @@
#include "stm32f1xx_hal.h"
#include "menu_interface.h"
#include "gfx_buffer.h"
#include "gfx_lib.h"
#include "oled.h"
#define font_size 10 //refer to font_tahoma_8_prop

View File

@@ -1,5 +1,5 @@
/*
* gfx_buffer.c
* gfx_lib.c
*
* Библиотека для заполнения буфера дисплея
*
@@ -8,14 +8,12 @@
* https://narodstream.ru/stm-urok-37-displej-tft-240x320-8bit-chast-1/
* https://hubstub.ru/display/126-vyvod-simvolov-i-strok-na-tft-displey-na-primere-ili9341.html
*/
#include "gfx_buffer.h"
#include "gfx_lib.h"
#include "font_tahoma_8_prop.h"
#include "math.h"
/* переменные */
//uint8_t Buffer_Frame[128 * 32] = {0,0}; //буфер кадра
uint8_t chSpacing = 0; //межсимвольный интервал в px
/* функция очистки буфера кадра */