请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
主题中讨论的其他器件:TMDXSK437X我有 TMDXSK437X、将使用 Python 控制 GPIO 引脚。 该映像具有 Python 3.8、但我看不到有关定义 IO 的任何定义。我需要执行另一个安装、还是我尚未找到它的所有安装。
是否有示例显示要导入的文件?
谢谢
Rob
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我有 TMDXSK437X、将使用 Python 控制 GPIO 引脚。 该映像具有 Python 3.8、但我看不到有关定义 IO 的任何定义。我需要执行另一个安装、还是我尚未找到它的所有安装。
是否有示例显示要导入的文件?
谢谢
Rob
Rob、您好!
请参考"原始问题"中的回答: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/735385/gpio-access-using-python
使用 Python 是一个 Linux 问题、而不是 TI 问题、因此我们无法在这些论坛上提供支持。
用于 AM437x GPIO 的 Linux 驱动程序记录在以下位置: https://software-dl.ti.com/processor-sdk-linux/esd/AM437X/08_02_00_24/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/GPIO.html
此致、
Nick