Touch sensor doc fill-in (#320)

This commit is contained in:
Galen Nickel
2018-02-09 18:17:12 -08:00
committed by Peli de Halleux
parent 1d83d6c40e
commit 6f539de2d2
8 changed files with 133 additions and 13 deletions

View File

@ -1,5 +1,14 @@
# Sensors
## Touch
```cards
sensors.touch1.onEvent(ButtonEvent.Pressed, function () {})
sensors.touch1.pauseUntil(ButtonEvent.Pressed)
sensors.touch1.wasPressed()
sensors.touch1.isPressed()
```
## Gyro
```cards