MRAA ADC

Hannibal
Hannibal New Member Posts: 4
I get the following error when trying to use MRAA to read from ADC:

Traceback (most recent call last):
File "adc_test.py", line 7, in <module>
x = mraa.Aio(7)
File "/usr/lib/python2.7/dist-packages/mraa.py", line 1680, in __init__
this = _mraa.new_Aio(pin)
ValueError: Invalid AIO pin specified - do you have an ADC?

Please help.

Comments