renaming brick.setLight to brick.setStatusLight (#307)

* renaming brick.setLight to brick.setStatusLight

* updated docs
This commit is contained in:
Peli de Halleux
2018-02-06 22:18:39 -08:00
committed by GitHub
parent 88c58b4e76
commit e94ac6f6f1
23 changed files with 60 additions and 60 deletions

View File

@ -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);
});
```