Comments (2)
It looks like you might already have an overlay loaded that uses the ADC, so PyBBIO is unable to configure it the way it needs.
Post the output of # cat /sys/devices/bone_capemgr.*/slots
Also, reboot and run that same script, then right afterwards get the output of # dmesg
and post that (or a pastebin of that).
from pybbio.
Bingo!!
Your comment led me to the conclusion that the Adafruit ADC is executed in a python script as part of the startup. When removing this from the boot sequence, your script executes fine.
So thanks a lot for the pointer. I would not have located the error without it!!!
from pybbio.
Related Issues (20)
- I2C Library
- Unable to use PWM1A and PWM1B at the same time HOT 2
- Analog In not recognized HOT 4
- pwmFrequency int division vs float division
- GPIO resource busy error
- SPI0.write crashes Beagleblone HOT 1
- SPI0.write crashes Beagleblone HOT 1
- Questions about Contributions HOT 1
- Pull-ups, pull-down configuration issue
- GPIO configuration bug HOT 2
- SystemError: NULL result without error in PyObject_Call when testing blink.py
- example blink.py error with beaglebone black HOT 2
- BBIOServer_test.py error HOT 4
- MAX31855_test.py problem HOT 4
- importing bbio causes immediate segfault HOT 8
- WebCam - no module named gst HOT 1
- GPIO does not work after "bbio.pinMode" HOT 3
- no module named WebCam HOT 9
- Problem running PyBBIO ADC code on BBB attached to 4D Systems 4DCAPE HOT 8
- not an issue but a doubt HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybbio.