Giter VIP home page Giter VIP logo

Comments (4)

PowerBroker2 avatar PowerBroker2 commented on August 20, 2024

This library is faster than the original since the original has a 8ms or so hard-coded delay for every command (and possibly a longer one for queries). This delay is not hard-coded in this lib. Are you having issues with processing speed?

from dfplayermini_fast.

fabianoriccardi avatar fabianoriccardi commented on August 20, 2024

Actually I have a project that uses the original library, but I never did test on performance neither looked into the library.
I have just discovered your library, I was wondering a migration to your solution.

Are those hardcoded delays useful to something? I had already meet other libraries making use of "casual" delays...

from dfplayermini_fast.

PowerBroker2 avatar PowerBroker2 commented on August 20, 2024

Are those hardcoded delays useful to something?

It really depends. The original lib uses the delay to keep the user from spamming commands/queries (otherwise the DFPlayer will become unresponsive), but this is only an edge case and such delays can be manually handled in the sketch if really needed.

Personally, I think my lib performs much better than the original as long as you know its limitations and how to use it.

from dfplayermini_fast.

fabianoriccardi avatar fabianoriccardi commented on August 20, 2024

Perfect, thanks for the clear answer. Maybe you could add a similar explanation in the readme, so new comers will immediately understand the major improvements

from dfplayermini_fast.

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.