mbuscomm changes

This commit is contained in:
2020-10-29 21:02:04 +01:00
parent e476930526
commit 6ccf85abdb
3 changed files with 8 additions and 10 deletions

View File

@ -23,12 +23,6 @@ void my_errorHandler() {
led(RED, ON);
}
void helloWorld(void *handle) {
static uint32_t cnt = 0;
logMsg("Hello World, %ld\n\r", cnt);
cnt++;
}
void helloMeterbus(void *handle) {
mbusCommRequest(0x5b, 80);
}
@ -38,9 +32,7 @@ void my_setup_2() {
led(RED, OFF);
led(GREEN, ON);
schAdd(helloWorld, NULL, 0, 1000);
schAdd(helloMeterbus, NULL, 0, 10000);
}
void my_loop() {