Touch Sensor ============ Six touch sensors are exposed on the edge connector at the front of the mPython Board, labeled P, Y, T, H, O and N from left to right. .. .. literalinclude:: /_static/products/mpython-s3/_static/examples/button/button_tp_ctl_rgb.py .. :caption: Example - touch different sensors to light the RGB LED in different colors .. :linenos: .. literalinclude:: /_static/products/mpython-s3/_static/examples/mpython_touchpad.py :caption: Usage of touch sensor callback functions :name: Usage of touch sensor callback functions .. Note:: The mPython Board has 6 onboard touch sensors, from left to right: touchPad_P, touchPad_Y, touchPad_T, touchPad_H, touchPad_O and touchPad_N. The other touch sensors are used in the same way as above.