adding bare docs

This commit is contained in:
Peli de Halleux
2017-11-28 16:24:22 -08:00
parent f22edac84d
commit 7e502b1749
6 changed files with 58 additions and 8 deletions

View File

@ -9,11 +9,4 @@ sensors.touchSensor1.onEvent(TouchSensorEvent.Pressed, function () {
sensors.touchSensor1.onEvent(TouchSensorEvent.Released, function () {
brick.showImage(images.expressionsSick)
})
loops.forever(function () {
if (sensors.touchSensor1.isTouched()) {
brick.setStatusLight(LightsPattern.Green)
} else {
brick.setStatusLight(LightsPattern.Orange)
}
})
```