MinSec deveder works OK. UART OK.

This commit is contained in:
StefansE
2026-03-28 11:32:32 +01:00
parent 2c4eedfc60
commit 4236a9293e
2 changed files with 8 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ void cmd_GetTime(uint32_t time){
uint8_t msg[6] = {0};
uint8_t resp[] = "Hello Ewaryst\n";
//uint8_t resp[] = "Hello Ewaryst\n";
// sprintf(resp, "%d, %d, %d, \n", my_rtc.hours, my_rtc.minutes, my_rtc.seconds);
@@ -111,7 +111,7 @@ void cmd_GetTime(uint32_t time){
msg[5] = 44;
HAL_UART_Transmit(&huart2, resp, sizeof(resp), 1000);
HAL_UART_Transmit(&huart2, msg, sizeof(msg), 1000);
}
void cmd_setColour_hour(uint32_t colour){