Add case to onMessage to catch responses from the LED
This commit is contained in:
1 parent
4041fbadc3
commit
dcccae9656
1 file changed
+1
@@ -1012,6 +1012,7 @@ class Boost {
|
||||
break;
|
||||
case BoostIO.CURRENT:
|
||||
case BoostIO.VOLTAGE:
|
||||
case BoostIO.LED:
|
||||
break;
|
||||
default:
|
||||
log.warn(`Unknown sensor value! Type: ${type}`);
|
||||
|
||||
Reference in new issue
Block a user