pxt-ev3/docs/coding/light-the-way-1.md
Peli de Halleux ec1ceea138
bump version to 0.1.13 (#407)
* bump version

* Light Condition -> Light

* roll back 0.1.11
2018-04-03 12:03:15 -07:00

9 lines
212 B
Markdown

# Light the way Activity 1
```blocks
sensors.color3.onLightDetected(LightIntensityMode.Ambient, Light.Dark, function () {
brick.showImage(images.objectsLightOn)
pause(5000)
brick.clearScreen()
})
```