pxt-ev3/docs/tutorials/touch-sensor.md
Peli de Halleux 56bbcde299
Support for smooth acceleration/deceleration in run (#900)
* removed logging

* removing more logging

* always use step for single/multiple motors

* refactored schedule

* account for accel ramp up and down

* added default acc/decel

* rounding speed/angle

* remove hack

* use acceleration time in run too

* handle missing case

* adding notes on motors

* adding sample

* fixed ramp simulation

* clear defaults

* some docs, more later

* adding basic examples

* remove debug msg

* clean json

* added move schedule

* docs

* basic docs
2019-09-02 20:57:23 -07:00

900 B

Touch Sensor

Tutorials

[{
  "name": "Touch to Run",
  "description": "Press the Touch Sensor and run a motor.",
  "cardType": "tutorial",
  "url":"/tutorials/touch-to-run",
  "imageUrl":"/static/tutorials/touch-to-run.png"
}, {
  "name": "Sensor Values",
  "description": "Check the value of a Touch Sensor and stop a motor if pressed.",
  "cardType": "tutorial",
  "url":"/tutorials/touch-sensor-values",
  "imageUrl":"/static/tutorials/touch-sensor-values.png"
}, {
  "name": "Pause Until Pressed",
  "description": "Waits for the sensor to be pressed before continuing the program",
  "cardType": "tutorial",
  "url":"/tutorials/pause-until-pressed",
  "imageUrl":"/static/tutorials/pause-until-pressed.png"
}]

See Also

Touch to Run, Touch Sensor Values, Pause Until Pressed