- 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

@@ -8,7 +8,9 @@
// ============================================================================================
// Includes
#include "../Screens.h"
#include "../Command.h"
#include "../UI_Control.h"
#include "../Mode_Manager.h"
#include "../Command_Definition.h"
#include "../Display.h"
@@ -33,6 +35,7 @@ static uint8_t* _Color;
static bool _Decision_Made;
static uint32_t _Counter;
static Mode _Current_Mode;
// ============================================================================================
@@ -68,6 +71,9 @@ void Screen_Setup_Select_RGB(Screen_Transition_Direction direction_out, Screen_T
_Decision_Made = false;
_Counter = 0;
_Current_Mode = Mode_Manager_Get_Current_Mode();
Mode_Manager_Set_Mode(PREVIEW);
}
void Screen_Init(Screen_Transition_Direction direction_out, Screen_Transition_Direction direction_in, Easing type, uint32_t frame_duration)
@@ -101,6 +107,10 @@ void Screen_Init(Screen_Transition_Direction direction_out, Screen_Transition_Di
void Screen_Tick(void)
{
Command_Issue_Set_Request(MULTICORE_COMMAND_SET_DIRECT_RED , MULTICORE_NO_PARAMETER, _RGB_Color->R);
Command_Issue_Set_Request(MULTICORE_COMMAND_SET_DIRECT_GREEN, MULTICORE_NO_PARAMETER, _RGB_Color->G);
Command_Issue_Set_Request(MULTICORE_COMMAND_SET_DIRECT_BLUE , MULTICORE_NO_PARAMETER, _RGB_Color->B);
if(_Decision_Made) {
_Counter++;
}
@@ -171,6 +181,12 @@ void Screen_On_Object_Deselect(Object_ID object_id)
if(!_Decision_Made) {
Display_Objects_Show_Message_Box(_Object_Message_Box, MESSAGE_BOX_DEFAULT_TICKS);
_Decision_Made = true;
Command_Issue_Set_Request(MULTICORE_COMMAND_SET_DIRECT_RED , MULTICORE_NO_PARAMETER, 0);
Command_Issue_Set_Request(MULTICORE_COMMAND_SET_DIRECT_GREEN, MULTICORE_NO_PARAMETER, 0);
Command_Issue_Set_Request(MULTICORE_COMMAND_SET_DIRECT_BLUE , MULTICORE_NO_PARAMETER, 0);
Mode_Manager_Set_Mode(_Current_Mode);
}
}