Touch Sensor ============ The mPython Board has 6 touch sensors expanded on the edge connector at the front, named P, Y, T, H, O, N in order. .. .. literalinclude:: /_static/products/ledong-v2/_static/examples/button/button_tp_ctl_rgb.py .. :caption: Example - touch different buttons to light up different colored RGB LEDs .. :linenos: .. literalinclude:: /_static/products/ledong-v2/_static/examples/mpython_touchpad.py :caption: Touch sensor callback function usage :name: Touch sensor callback function usage .. Note:: The mPython Board has 6 onboard touch sensors, from left to right: touchPad_P, touchPad_Y, touchPad_T, touchPad_H, touchPad_O, touchPad_N. Other touch sensors use the same method as above.