Code Monkey home page Code Monkey logo

Comments (10)

bsiever avatar bsiever commented on August 26, 2024

Thanks for the notice @CaptainCredible --- I'll try to look into it. I hadn't noticed any problems like that in my (limited) testing, but I wasn't really trying very high rate things. This time of year I'm pretty busy and will only have limited time to look into it on weekends.

from microbit-webusb.

bsiever avatar bsiever commented on August 26, 2024

@CaptainCredible for clarification, do you know if the new version is slow/loses data on both the v2 and the v2.2?

The interface processor changed in the v2.2, which is what motivated the change to DAPjs. I focused most of my testing on a v2.2. I'm curious if there's a difference between the two, which may indicate there's something related to the interface processor to consider.

I wasn't relaly crazy about including DAPjs anyway. Hopefully I can do a little more study and revert to a stand alone library.

from microbit-webusb.

CaptainCredible avatar CaptainCredible commented on August 26, 2024

from microbit-webusb.

bsiever avatar bsiever commented on August 26, 2024

@CaptainCredible First, I love the projects!

Second, I've made some updates and improved the speed quite a bit. If you have time, try out the current commit and let me know if you're still having problems.

In my tests it's a lot faster, but it can still lose data if the callback takes too long. I plan to do some additional testing/analysis as time permits. Perhaps I can improve it a bit more.

from microbit-webusb.

CaptainCredible avatar CaptainCredible commented on August 26, 2024

from microbit-webusb.

bsiever avatar bsiever commented on August 26, 2024

Great! Keep me posted. If I don't hear about any problems, I'll probably create a new release and close this issue in about.a week.

By the way, I have only tested on macOS+Chrome. I'm not sure if/when I'll have time to try Windows (Chrome and Edge).

from microbit-webusb.

CaptainCredible avatar CaptainCredible commented on August 26, 2024

from microbit-webusb.

CaptainCredible avatar CaptainCredible commented on August 26, 2024

from microbit-webusb.

bsiever avatar bsiever commented on August 26, 2024

Thanks for the update...I encountered that message once with older micro:bits (V1), but not V2, and only when flooding with data. Let me know if you encounter it again, especially if it's under "non-flooding" circumstances.

from microbit-webusb.

bsiever avatar bsiever commented on August 26, 2024

I think this has been resolved and a new release has been made (https://github.com/bsiever/microbit-webusb/releases/tag/v1.1.0). Please re-open or open a new issue as needed.

from microbit-webusb.

Related Issues (5)

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.