10 Commits

Author SHA1 Message Date
hasslesstech 014d59c318 [main] add macros for checking specific buttons 2025-04-19 14:51:21 +03:00
hasslesstech 5d5bea008a [main] large code cleanup 2025-04-19 14:36:34 +03:00
hasslesstech 368c530602 [main] fix: cast wrongly converted integer back into the pointer to remove warning 2025-04-14 20:20:57 +03:00
hasslesstech cad8fe1186 [main] enhancement: remove delay between running tests 2025-04-14 20:18:06 +03:00
hasslesstech 3e38106f3d [PCA9685] remove OUT ENABLED label as it is no longer used in interactive tests 2025-04-14 20:17:07 +03:00
hasslesstech 8d119b4c14 add new UI for testing phase, update modules to indicate success or failure in the return value 2025-04-14 19:33:13 +03:00
hasslesstech ae050ce8c1 record change in .cproject which seems impossible to revert 2025-04-14 18:31:36 +03:00
hasslesstech 7bae3f0989 [main] add simple navigation between test reports 2025-04-14 18:31:36 +03:00
hasslesstech ab263f7948 [lcd] fix: add display_load prototype 2025-04-14 18:31:36 +03:00
hasslesstech 1ac6300e02 [lcd] add support for operating on virtual framebuffers
Current implementation contains full support for:
- transparent switching between direct and framebuffer rendering modes
- writing characters to framebuffers
- loading frame from memory to physical display

As well as partial support for instruction writes including:
- resetting the display (clears memory, sets cursor at 0:0, switches to increment mode)
- switching between increment/decrement modes
- setting cursor position
2025-04-14 18:31:36 +03:00
2 changed files with 0 additions and 8 deletions
-2
View File
@@ -40,8 +40,6 @@ int PCA9685_run_test(void)
display_write_data_seq("/5 ");
switch (op_result) {
case HAL_OK:
break;
case HAL_ERROR:
display_write_data_seq("ERROR");
break;
-6
View File
@@ -136,12 +136,6 @@ static void display_write_data_byte_direct(uint8_t code)
static void display_write_data_byte_framebuffer(uint8_t code)
{
if (display_current_frame >= DISPLAY_FRAMES_AVAILABLE)
return;
if (((int) des.cursor_offset >= 32) || ((int) des.cursor_offset < 0))
return;
display_framebuffer[16*2*display_current_frame + des.cursor_offset] = (char) code;
des.cursor_offset += des.next ? -1 : 1;
}