On 11/23/2013 11:45 AM, JJ wrote:
> Thank you! I used the latest 3.12 kernel and installed the legacy
> version. Now my program works fine!
> By the way, why doesn't the newest kernel support the capes?
>
>
> lauantai, 23. marraskuuta 2013 20.28.13 UTC+2 don kirjoitti:
>
> On 11/23/2013 08:24 AM, JJ wrote:
>> I managed to compile BBIO and before that I installed python2
>> packages.
>> Now there's a new problem, let's see following code
>> |
>>
>>
>> importAdafruit_BBIO.ADC asADC
>>
>>
>> ADC.setup()
>> value =ADC.read("P8_36")
>> voltage =value *1.8#1.8V
>> printvoltage
>> |
>>
>> It should print the analog pin 5 value, but this error appears:
>> |
>> # python2 voltage.py
>> Traceback(most recent call last):
>> File"voltage.py",line 3,in<module>
>> ADC.setup()
>> RuntimeError:Unableto setup ADC system.Possiblecauses are:
>> -A cape witha conflicting pin mapping isloaded
>> -A device tree objectisloaded that uses the same name fora
>> fragment:helper
>>
>> |
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>>
>> <http://www.google.com/url?q=http%3A%2F%2Fbeagleboard.org%2Fdiscuss&sa=D&sntz=1&usg=AFQjCNEpMSpbklk_hXqEMMJhBr1sf-iMfQ>
>> ---
>> You received this message because you are subscribed to the
>> Google Groups "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out
>> <https://groups.google.com/groups/opt_out>.
> which arch kernel are you running? You should be on the legacy one
> for the beagle if you're working with capes also you should make
> sure you're using dtc-overlay as opposed to dtc.
>
> This post has some information in regards to the device tree and
> arch linux arm.
> http://www.adminempire.com/beaglebone-basics-for-arch-linux/
>
> <http://www.google.com/url?q=http%3A%2F%2Fwww.adminempire.com%2Fbeaglebone-basics-for-arch-linux%2F&sa=D&sntz=1&usg=AFQjCNEXVNA24Rw8kMIndpb23A79-5Yeug>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
3.12 does not have full cape support as of yet. 3.8 gives you all the
cape stuff, 3.12 is better with USB and a few other things right now.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.