Fonts work (mostly)
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user