Compare commits

..

No commits in common. "368c5306028b35a715d6d25b8c4252e432516cbf" and "8d119b4c14bf76e146394319b436359c52a7474b" have entirely different histories.

2 changed files with 4 additions and 2 deletions

View File

@ -70,7 +70,7 @@ int PCA9685_run_test(void)
return 1; return 1;
} else { } else {
DISPLAY_SET_CURSOR(1, 1); DISPLAY_SET_CURSOR(1, 1);
display_write_data_seq("OK"); display_write_data_seq("OK OUT ENABLED");
return 0; return 0;
} }

View File

@ -226,7 +226,7 @@ void button_init_and_test(void)
for (size_t i = 0; i < 5; i++) { for (size_t i = 0; i < 5; i++) {
pressed_elements >>= 1; pressed_elements >>= 1;
size_t input = !HAL_GPIO_ReadPin((GPIO_TypeDef *) sw_button_locations[i][0], sw_button_locations[i][1]); size_t input = !HAL_GPIO_ReadPin(sw_button_locations[i][0], sw_button_locations[i][1]);
if (input) { if (input) {
pressed_elements |= 0x20; pressed_elements |= 0x20;
@ -340,6 +340,8 @@ int main(void)
cleanup_functions[display_current_frame-1](); cleanup_functions[display_current_frame-1]();
display_to_direct(); display_to_direct();
HAL_Delay(150);
} }
// render final result to first framebuffer // render final result to first framebuffer