fix logger (lost first two chars) and setting meterbus uart (8bit data plus parity, so 9bit incl. parity)
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user