renaming brick.setLight to brick.setStatusLight (#307)
* renaming brick.setLight to brick.setStatusLight * updated docs
This commit is contained in:
@ -16,7 +16,7 @@ Your @boardname@ has touch sensors that work like buttons. Instead of saying `en
|
||||
|
||||
```block
|
||||
sensors.touch1.onEvent(ButtonEvent.Pressed, function () {
|
||||
brick.setLight(BrickLight.Orange);
|
||||
brick.setStatusLight(StatusLight.Orange);
|
||||
});
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user