Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: StevenMartin

Search: Search took 0.00 seconds.

  1. Yes, I followed suit roughly from...

    Yes, I followed suit roughly from HIDDeviceInfo.ino when I went digging in the examples.

    I do think a callback would be helpful, but then again... If the 'how to' is in the examples like this,...
  2. It seems that USBDriver has an operator overload...

    It seems that USBDriver has an operator overload for bool.

    So as I only have one MIDIDevice being connected, I'm currently doing this check inside loop:




    void loop() {
    myusb.Task();
    ...
  3. USBHost_t36 Connect/Disconnect callback / state?

    I'm using the USBHost_t36 with a MIDIDevice. I'm wondering what the method is for detecting if a USB device has been disconnected or reconnected during runtime.

    I'm looking (as a simple starting...
  4. Replies
    2
    Views
    290

    Thanks KurtE! Here's the output with...

    Thanks KurtE!



    Here's the output with debugging from the HIDDeviceInfo example:


    USB2 PLL running
    reset waited 6
    USBHS_ASYNCLISTADDR = 0
  5. Replies
    2
    Views
    290

    Teensy 4.1 USB Host

    I have the T4.1 and the PJRC USB Host cable attached.

    My project connects to a Boss Katana guitar amp using this 'MS3' library: https://github.com/MrHaroldA/MS3 (well, with slightly modified Sysex...
  6. Replies
    22
    Views
    2,778

    Thank you, Edward! I don't mind frying LEDs as I...

    Thank you, Edward! I don't mind frying LEDs as I have plenty to work with and can try to solve that later if it becomes an issue. It was just frying the Teensy I was concerned about. So if that's not...
  7. Replies
    22
    Views
    2,778

    Any thoughts on this?

    Any thoughts on this?
  8. Replies
    22
    Views
    2,778

    Sorry for the slight grave dig on my own post. I...

    Sorry for the slight grave dig on my own post. I did in fact go with the Teensy 4.1 (loving that by the way). And sorry to any questions I left unanswered.

    The KY040 encoders do in fact work...
  9. That is better than duplicating some text, yes! ...

    That is better than duplicating some text, yes!


    teensy_size: Memory Usage on Teensy 4.1:
    teensy_size: FLASH (0.77 %): code: 45936 | data: 7452 | headers: 9072 | free for files: 8064004...
  10. Okay, nice. In that case - job done! And as...

    Okay, nice. In that case - job done! And as promised, I didn't sleep until it was fixed ;) It's past midnight here in the UK now, so off to bed.

    Thank you both very much!
  11. uint32_t flash_size(int model) { if (model ==...

    uint32_t flash_size(int model)
    {
    if (model == 0x24) return 2031616; // Teensy 4.0
    if (model == 0x25) return 8126464; // Teensy 4.1
    if (model == 0x26) return 16515072; // MicroMod
    return 0;...
  12. So I changed the teensy_size code to: ...

    So I changed the teensy_size code to:


    #include <stdio.h>
    #include <stdlib.h>
    #include <stdarg.h>
    #include <stdint.h>
    #include <string.h>

    #include "minimal_elf.h"
  13. Appreciate that! It is, however, the kind of...

    Appreciate that!

    It is, however, the kind of at a glance maths my tired 'I'm not sleeping until I fix this' eyes don't like to do. All those long numbers blend into one :D

    Is there a way to...
  14. Platformio - Remaining memory as percentages

    This is probably a super simple, basic question and for that, forgive me.

    I use Platformio with VSCode and the T4.1 - On building the code it shows the memory used such as:

    teensy_size: Memory...
  15. Replies
    7
    Views
    1,220

    Real Time Audio Processing

    I've not yet even tried venturing into this area of C++ yet... But do 'the people in the know' see the Teensy 4.1 as a viable microcontroller for a project aimed at real-time audio processing?
    ...
  16. Replies
    22
    Views
    2,778

    Thank you, everyone! The product/project I...

    Thank you, everyone! The product/project I mentioned is my first venture into both electronics and programming. So I'm coming into it super fresh. I originally started with a Mega clone as it came as...
  17. Replies
    22
    Views
    2,778

    5V Teesny 4.1

    Hello, the speed, pins and ram of the Teensy 4.1 is incredible. All of my peripherals are 5v though (LCD, Rotary Encoders with push switches, RGB LEDs + more. I'd happily make the jump from an...
Results 1 to 17 of 17