触摸按键 ======== 在掌控板正面金手指处拓展6个触摸按键,依次P、Y、T、H、O、N。 .. .. literalinclude:: /_static/products/mpython-s3/_static/examples/button/button_tp_ctl_rgb.py .. :caption: 示例-触摸不同按键,点亮不同色RGB灯 .. :linenos: .. literalinclude:: /_static/products/mpython-s3/_static/examples/mpython_touchpad.py :caption: 触摸按键回调函数用法 :name: 触摸按键回调函数用法 .. Note:: 掌控板板载6个触摸按键,依次从左到右分别touchPad_P、touchPad_Y、touchPad_T、touchPad_H、touchPad_O、touchPad_N,其他触摸按键使用方法同上。