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.

[参考译文] MSPM0G3507:无法通过 booster 和#39;s pack 游戏手柄绘制各种 ADC 值

Guru**** 1821780 points
Other Parts Discussed in Thread: MSPM0G3507
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1390065/mspm0g3507-unable-to-draw-various-adc-values-through-the-booster-s-pack-joystick

器件型号:MSPM0G3507

工具与软件:

大家好、我想使用 MSPM0G3507板和 Booster Pack MK II 编写程序、程序的目的是从游戏手柄的 Y 轴运动中获取 ADC 值、然后使用 UART 显示该值、还可以根据 ADC 值拨打 Booster Pack 中的蜂鸣器、以便发出不同的音调。 我遇到的问题是 ADC 引脚的读数只有高和低、也就是说、如果我移除 Booster Pack、Booster Pack 显示为0;如果我将 Booster Pack 放在开发板的引脚中、它显示大约2040年和附近的值、但实际上我想让它应该根据游戏手柄的 Y 轴运动来更改这些值。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您能否使用万用表测试  Booster Pack MK II 的电压输出是否与您的控制呈线性。 或者您是否可以为 MCU ADC 输入不同的电压、以检查 MCU 是否输出正确的代码。