Search results

  1. N

    Arduino CLI And IDE now Released - Teensy Supported!

    Wow, I see there's been a ton of work done. I took several months off and I'm attempting to get back up to speed using arduino-cli. I'm trying to utilize project profiles using Teensy 4.1 as one of the platforms. profiles: teensy: notes: basic teensy 4.1 profile fqbn...
  2. N

    Arduino CLI And IDE now Released - Teensy Supported!

    Thank you. That makes everything super clear for me now.
  3. N

    Arduino CLI And IDE now Released - Teensy Supported!

    Instead of wearing myself out trying to find a potentially obvious answer, I figured that I would just ask. When using arduino-cli with Teensy 4.1, what would be the equivalent command/steps for changing the "USB Type" from Serial to Keyboard or MIDI in the Arduino IDE 1.8x Tools menu?
  4. N

    USBHost and multi-channel midi devices.

    You can add a parameter to designate the port at the end of the midi message USBHost myusb; USBHost hub1(myusb); MIDIDevice MIDI1(myusb); const byte port1 = 0; const byte port2 = 1; const byte myChannel = 0; const byte myProgram = 0; // after setup // send program change to first port...
  5. N

    Sending Midi Clock to multiple objects with USBHost

    I will retract what I said about the "hanging" I was previously experiencing using that fork. The behavior was a result of me being a little too aggressive with functions inside the timer interrupt. I haven't had any issues since moving the troublesome function to the loop.
  6. N

    Identifying multiple USB-MIDI devices, and reacting to connection/disconnection?

    It's ok that the same MIDIDevice objects are reused, as each time a device is connected you're going to determine its identity and assign callbacks accordingly. In your case, if you plugged in the APCmini by itself, the Detect_Example() would determine it was the APCmini and at the end of that...
  7. N

    Identifying multiple USB-MIDI devices, and reacting to connection/disconnection?

    I used the Joystick example from the USBHost library to get an understanding of how to do this with Teensy 4.1. You can use your *driver[ ] array loaded with your MIDIDevice objects. You also have a bool driver_active[ ] to check against your driver array. In your loop you check to see when...
  8. N

    Sending Midi Clock to multiple objects with USBHost

    Using Teensy 4.1 with the packaged USBHost Library. It's a great library! I'm attempting to send Midi Clock to multiple MIDIDevice objects. But stable clock is sent to one device object only. Basic Sketch: #include <USBHost_t36.h> #include <TimerThree.h> USBHost myusb; USBHub hub1(myusb)...
  9. N

    Arduino CLI And IDE now Released - Teensy Supported!

    I successfully compiled and uploaded a basic blink sketch. The serial monitor worked as well. I used my currently installed instance of arduino-cli to do so. Version: 0.20.2 Commit: 1378380 excellent work!
  10. N

    Arduino CLI And IDE now Released - Teensy Supported!

    I've been using the arduino-cli for other projects, I appreciate the work being done toward Teensy support. :)
Back
Top