mbuscomm changes
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user