{"id":12304,"date":"2017-11-16T16:05:28","date_gmt":"2017-11-16T05:05:28","guid":{"rendered":"http:\/\/legoeng.local\/?p=12304"},"modified":"2019-04-02T15:23:42","modified_gmt":"2019-04-02T04:23:42","slug":"how-to-toggle-a-motor-on-off-with-a-touch-sensor","status":"publish","type":"post","link":"http:\/\/legoeng.local\/how-to-toggle-a-motor-on-off-with-a-touch-sensor\/","title":{"rendered":"How to Toggle a Motor On\/Off With a Touch Sensor"},"content":{"rendered":"
\"\"<\/a>
Color counting machine with a touch sensor<\/figcaption><\/figure>\n

Starting with a simple challenge involving a touch sensor and a motor, this learning sequence shows how to turn a motor on and off with a touch sensor using flow control structures that include:<\/p>\n