- First complete version of firmware. Currently being tested in the rehearsal room

- Added bunch of screens, fonts and images
 - Added script to read out frame buffer (function currently disabled in Firmware)
This commit is contained in:
2025-10-26 20:57:58 +01:00
parent 90bca063e6
commit 89c875e38f
62 changed files with 4668 additions and 489 deletions

View File

@@ -526,16 +526,18 @@ void Display_Shapes_Draw_Arc_Frame(int16_t center_x, int16_t center_y, int16_t r
}
float Angle_Step = (float)(angle_end - angle_start) / (float)steps;
for (float i = angle_start; i <= angle_end; i = i + Angle_Step)
{
float Angle = angle_start;
for (int i = 0; i <= steps; i++)
{
if(thickness == 1) {
Display_Shapes_Draw_Pixel_Safe(center_x + cos(i*DEG2RAD) * radius, center_y + sin(i*DEG2RAD) * radius, color);
Display_Shapes_Draw_Pixel_Safe(center_x + cos(Angle*DEG2RAD) * radius, center_y + sin(Angle*DEG2RAD) * radius, color);
}
else {
Display_Shapes_Draw_Circle_Filled(center_x + cos(i*DEG2RAD) * radius, center_y + sin(i*DEG2RAD) * radius, thickness >> 1, color);
Display_Shapes_Draw_Circle_Filled(center_x + cos(Angle*DEG2RAD) * radius, center_y + sin(Angle*DEG2RAD) * radius, thickness >> 1, color);
}
Angle += Angle_Step;
}
}