我在我的 BBB 上安装了 Adafruit_BBIO 模块(我从 github 下载并手动安装)。GPIO 工作得很好,但是当我尝试使用 ADC 时,我收到如下错误:
import Adafruit_BBIO.ADC as ADC
ADC.setup()
错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: Unable to setup ADC system. Possible causes are:
- A cape with a conflicting pin mapping is loaded
- A device tree object is loaded that uses the same name for a fragment: helper
我找不到这个问题的答案。我应该只使用旧版本的ubuntu吗?
谢谢!