Fonts work (mostly)

This commit is contained in:
Dylan Smith
2026-01-09 13:31:10 -05:00
parent caee1f3778
commit 2624b59564
9 changed files with 1558 additions and 8 deletions

View File

@@ -25,7 +25,9 @@
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "graphics.h"
#include "display.h"
#include "font.h"
#include "roboto_bold_font.h"
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
@@ -865,8 +867,10 @@ void StartDefaultTask(void const * argument)
for(;;)
{
DisplayTest(0xffff);
draw_string(framebuffer, &roboto_bold_font, 25, 25, "Divide Voltage!", 0x0000);
osDelay(500);
DisplayTest(0x0000);
draw_string(framebuffer, &roboto_bold_font, 25, 25, "Divide Voltage!", 0xf800);
osDelay(500);
}
/* USER CODE END 5 */