Some edits for the new sensor/motor examples (#901)

* Some edits for the new sensor/motor examples

* article typo

* dark and bright

* fix block styling

* I like 'on'

* more block styling
This commit is contained in:
Galen Nickel
2019-09-02 04:20:42 -07:00
committed by Peli de Halleux
parent d5194b8d28
commit 7e9cc791ec
10 changed files with 17 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
# Pause Until Pressed
This is an example of code using a touch sensor to detect a wall or other obstacle. The motors are running until the sensor is pressed.
This is a code example to detect contact or collision with another object. It uses a touch sensor to detect hitting a wall or other obstacle. The motors are run and then stopped when the sensor is pressed.
```blocks
motors.largeBC.tank(50, 50)