请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TM4C1290NCPDT 主题中讨论的其他器件:TM4C123
TM4C:移植基于计时器的旧正交编码器代码、但现在是内置功能、任何人都可以帮助我移植它
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.
TM4C:移植基于计时器的旧正交编码器代码、但现在是内置功能、任何人都可以帮助我移植它
您好!
我不确定您之前使用哪个 MCU 来仿真 QEI。 我建议您不要从其他平台移植代码、而是根据示例启动 QEI。 下面是一个具有 QEI 示例的帖子。 https://e2e.ti.com/support/microcontrollers/other-microcontrollers-group/other/f/other-microcontrollers-forum/919892/tm4c123gh6pm-problems-with-qei-module。尽管此示例适用于 TM4C123、但这两种代码都可以重复使用。