Giter Site home page Giter Site logo

Comments (2)

KurtE avatar KurtE commented on July 16, 2024

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.

KurtE avatar KurtE commented on July 16, 2024

Note: Most/all of this was handled as part of the pull request done this last week...

from mraa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.