Comments (2)
Update: As mentioned in the Edison Forum thread, I am now caching the output pin enable object and that has sped up the switch from OUTPUT to INPUT from about 2.8ms to maybe 1.1ms, which I think is pretty good. Currently also making similar changes for Edison gen 2 as it has similar code.
Note: I uploaded the code I am about to test on Galileo as soon as I get things set up (building cmake now)...
Note: On Edison both Output Pin Enable and Pullup resistors are defined in arrays. With the Gen2 Galileo, they are defined as part of the Pin structure, however there still is an external array for the Pull up resistors. If you are interested in the changes, they are in my gpio-speedup branch.
Kurt
from mraa.
Note: Most/all of this was handled as part of the pull request done this last week...
from mraa.
Related Issues (20)
- Wish: Foreign OS support / cooperation HOT 1
- add compute module 3 / 3 plus support
- add raspberry pi compute module 4 variants HOT 3
- mraa_iio_detect() memory leak
- Possible support for Adafruit ft232h on Linux x86 desktop HOT 2
- UART initialization failed on Raspberry Pi 4
- mraa_uart_write(): off by one while writing arrays HOT 1
- mraa_uart_set_flowcontrol(): rogue XOFF byte
- Add build/release branch for jammy (Ubuntu 22.04[.1] LTS) HOT 2
- SIGINT results in segfault (C code) as thread gets terminated
- RISC-V linux platform support HOT 2
- Unable to detect GPIO pins in python HOT 1
- IEI tank detect pins with ISMMPlus but cant detect pins with mraa HOT 1
- RPC for MRAA
- Support for RockPi 4C Plus
- Support for GPIO uAPI V2.
- RockPi4 Pull Up
- g++: types.h compilation warning -Wundef
- First UART message starts with hex 13
- GPIO Interrupt problem on CM3 HOT 9
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 mraa.