fix logger (lost first two chars) and setting meterbus uart (8bit data plus parity, so 9bit incl. parity)

This commit is contained in:
2020-10-29 23:16:03 +01:00
parent 6ccf85abdb
commit 877dd0fca3
8 changed files with 81 additions and 67 deletions

View File

@ -25,6 +25,9 @@ void my_errorHandler() {
void helloMeterbus(void *handle) {
mbusCommRequest(0x5b, 80);
// static char msg[] = "Hello";
// HAL_UART_Transmit_IT(&mbusUart, &msg, strlen(msg));
}
@ -32,7 +35,7 @@ void my_setup_2() {
led(RED, OFF);
led(GREEN, ON);
schAdd(helloMeterbus, NULL, 0, 10000);
schAdd(helloMeterbus, NULL, 0, 2000);
}
void my_loop() {