Comments (11)
Have you tied J8p15 and J8p16 as per the documentation?
from gpio.
Yes, I tied J8p15 and J8p16 with a jumper
from gpio.
Any other clues? Platform?
from gpio.
3B+ sometimes OK, sometimes may FAIL
4B always FAIL
from gpio.
Haven't tested on a 3B - don't have one.
Just received a 4B today as it happens, and will try it out presently.
from gpio.
4B mostly works for me. I get a PullDown failure, which is probably due to the faster CPU - so the line isn't given time to reach its new equilibrium level before the test checks it. You are probably getting something similar with ringing on the the interrupt line.
I'll have a look and see if I can make the tests more robust on the faster hardware.
In the meantime, if you aren't toggling lines at full speed like the tests do, you should be fine.
from gpio.
I'll try , thank you.
from gpio.
I get a PullDown failure, which is probably due to the faster CPU
I add a time.Sleep(n*time.Millisecond) , even n =100, get a PullDown failure also.
from gpio.
How pullups are programmed has changed in the Pi4, so that is currently broken. The line that the tests use happens to be pulled up by default, so pull up appears to work, while pull down fails. Will have to look into what needs to be changed, but this is not a high priority for me at the moment.
Other than the pull downs the tests are totally solid for me on all the the platforms I have available so not sure what I can change, or in fact if the problems don't lie in your boards.
from gpio.
I've committed a change to handle the Raspberry Pi 4.
I've also fixed some race conditions in the watcher.Close and TestCloseInterrupts that were showing up on the faster platforms.
All tests are now consistently passing for me on all platforms.
I've also added a new command line utility, which unfortunately for you will pull in even more dependencies.
I've got a few more minor changes to add, and then I'll tag a new release in the next few days.
from gpio.
wonderful
from gpio.
Related Issues (8)
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 gpio.