Gyro sensor topics (#311)

This commit is contained in:
Galen Nickel
2018-02-08 09:35:47 -08:00
committed by Peli de Halleux
parent f53dbf4d83
commit b73696e918
7 changed files with 117 additions and 4 deletions

View File

@ -68,3 +68,7 @@
* [speed](/reference/motors/motor/speed)
* [clear counts](/reference/motors/motor/clear-counts)
* [stop all motors](/reference/motors/stop-all-motors)
* [Sensors](/reference/sensors)
* [angle](/reference/sensors/gyro/angle)
* [rate](/reference/sensors/gyro/rate)
* [reset](/reference/sensors/gyro/reset)

View File

@ -2,12 +2,14 @@
```namespaces
brick.showMood(moods.sleeping);
motors.stopAllMotors()
sensors.color(null);
motors.stopAllMotors();
```
## See Also
[brick](/reference/brick),
[sensors](/reference/sensors),
[motors](/reference/motors),
[touch sensor](/reference/sensors/touch-sensor),
[color sensor](/reference/sensors/color-sensor)

View File

@ -0,0 +1,9 @@
# Sensors
## Gyro
```cards
sensors.gyro1.angle();
sensors.gyro1.rate();
sensors.gyro1.reset();
```