--- title: "How to Set Up a Foot Pedal in Tulip" slug: "how-to-set-up-a-foot-pedal-in-tulip" updated: 2023-10-31T19:03:33Z published: 2023-10-31T19:03:33Z canonical: "support.tulip.co/how-to-set-up-a-foot-pedal-in-tulip" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # 如何在郁金香中设置脚踏板 ## 如何在郁金香中设置脚踏板 *了解如何利用脚踏板上的事件构建应用程序。* 脚踏板是可以通过 Tulip 边缘设备连接到 Tulip 的物联网设备。脚踏板可以有 USB 或 I/O 连接。 有一种脚踏板可以通过 USB 接口插入 Windows 计算机,与 Tulip 播放器配合使用:[iKKEGOL USB](https://www.amazon.com/iKKEGOL-Control-Customized-Computer-Keyboard/dp/B01NAL3DV6/ref=sr_1_2?keywords=foot+pedal+usb&qid=1565130288&s=gateway&sr=8-2) 脚踏板。 ## USB 脚踏板 要设置 USB 脚踏板,请将脚踏板与郁金香边缘设备连接。现在,您可以通过[使用 Tulip 应用程序编辑器创建的触发器](https://support.tulip.co/docs/how-to-add-device-triggers)访问脚踏板。请确保您访问了[正确的站点](https://support.tulip.co/docs/how-to-set-up-a-station)。 每次踩下脚踏板时,脚踏板都会产生输出,Tulip 应用程序将识别并触发相应的响应。脚踏板是控制应用程序和解放操作员双手的好方法。 在购买脚踏板之前,请查询[支持的脚踏板列表](https://support.tulip.co/docs/list-of-plug-and-play-devices-that-work-with-tulip)。 ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/How%20to%20Set%20Up%20a%20Foot%20Pedal%20in%20Tulip_92789966.png) ## 输入/输出脚踏板 I/O 脚踏板的工作原理类似于开关。在大多数情况下,当脚踏板被踩下时,电流正在运行,也称为 "Pin up "状态。这取决于脚踏板的配置,但在大多数情况下都是如此。 要触发对脚踏板这种状态的响应,请在相应应用程序的郁金香应用程序编辑器中添加/创建一个触发器,并选择设备 "GPIO",如下图所示。 ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/How%20to%20Set%20Up%20a%20Foot%20Pedal%20in%20Tulip_92790036.png) 确保你知道脚踏板连接到 Tulip I/O Gateway 或 Edge IO 上的引脚编号。"**如果**"条件允许你选择与 I/O Gateway 或 Edge IO 相关的特定引脚,"**然后**"条件允许你定义要触发的操作。 --- 找到您想要的了吗? 您还可以前往[community.tulip.co](https://community.tulip.co/?utm_source=intercom&utm_medium=article-link&utm_campaign=all)发布您的问题,或查看其他人是否遇到过类似问题!