traffic lights activity

This commit is contained in:
Peli de Halleux
2018-01-05 19:28:24 -08:00
parent 931987468a
commit 6928f9e50e
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# Traffic Lights Activity 1
```blocks
brick.buttonEnter.onEvent(ButtonEvent.Click, function () {
motors.largeBC.tank(20, 20)
sensors.color3.pauseForColor(ColorSensorColor.Red)
motors.largeBC.tank(0, 0)
})
```