Coder Social home page Coder Social logo

Comments (2)

gdsports avatar gdsports commented on May 28, 2024 1

I just verified the USB hub fixes from felis/USB_Host_Shield_2.0#414 work on the USB Host Shield. I will see why they do not work on SAMD.

from usb_host_library_samd.

billmoser avatar billmoser commented on May 28, 2024

_EDIT: Never mind. I don't know what's going on, but today, the original lib (gdsports) works fine, although enumeration is slow. _

I had this issue also. The in particular, the example in USBH_MIDI/USB_MIDI_converter_multi only worked for me if I had a single controller on the hub. I used @DatanoiseTV's fork, and everything works ok reading midi from two controllers. For a project I'm working on (not yet in github) I need to be able to write the devices as well. Here things did not go so well, even with @DatanoiseTV's changes, until I refactored the example code to wait in setup() for the devices to be ready before going into reads/writes in loop(). Even so, it takes about 45 seconds for my devices (Source Audio guitar effects pedals) to be ready to go into the read/write loop, which seems excessive. I forked your repo, and then merged in @DatanoiseTV's changes, so my fork is current with your repo. Let me know if you want me to do a pull request. BTW, Thanks for doing this port of @felis's UHS2! My goal was to be able to debug/test an Arduino Uno using UHS2, and deploy with your SAMD port on my Trinket M0, and that looks like it's going to work out at this point.

from usb_host_library_samd.

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.