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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    181
    Views
    185,279

    Did you try simply editing the one file/line I...

    Did you try simply editing the one file/line I mentioned in the other thread? I believe that all of this stuff has been included in the main USB stuff when you set the JOYSTICK_SIZE to 64...

    And...
  2. Personally I think this is barking up the wrong...

    Personally I think this is barking up the wrong tree! void *
    To me says kick me, kick me... That is there is no type checking or anything else to help make sure your are passing the right type of...
  3. Replies
    3
    Views
    100

    Have you tried the recovery process? Simply hold...

    Have you tried the recovery process?
    Simply hold the program button down for something like 20 seconds, until the little red led near usb comes on and release. It should then stay on and reprogram...
  4. Sorry, but I have no idea of what you are saying...

    Sorry, but I have no idea of what you are saying here. Likewise I have no idea on how/if your code would work. That is:

    void Loop()
    {
    double *p=0;

    unsigned long...
  5. Replies
    1
    Views
    61

    This looks like it is a duplicate of your other...

    This looks like it is a duplicate of your other thread: https://forum.pjrc.com/threads/63215-Teensy-4-1-Joystick-Support
  6. Replies
    4
    Views
    194

    There are two standard configurations of the USB...

    There are two standard configurations of the USB Joystick code that is part of Teensyduino...

    You might want to look at the thread: https://forum.pjrc.com/threads/23681-Many-axis-joystick

    Look...
  7. Sorry, I don't do much floating point output, to ...

    Sorry, I don't do much floating point output, to know if there is anything better to convert doubles to strings...

    Althought I believe you can do something like tft.print(*p, 21);

    And if you...
  8. As @defragster has mentioned, Paul tried to...

    As @defragster has mentioned, Paul tried to maintain has much common pin functionality that he could do between the boards. But each of these processors map different functionality to different...
  9. The order I mentioned was your defines: ...

    The order I mentioned was your defines:

    #define PinCamD0 14 // AD_B1_02
    #define PinCamD1 15 // AD_B1_03
    #define PinCamD3 16 // AD_B1_07
    #define PinCamD2 17 // AD_B1_06
    #define...
  10. I am sort of curious about these so ordered a...

    I am sort of curious about these so ordered a cheap (< $10) pair from Amazon, that should get here end of week...

    Not sure how much I will do or not, but at worst they end up in my Sensors box ;)...
  11. Sorry I have sort have been following this thread...

    Sorry I have sort have been following this thread but not responding...

    Again I wonder about things like: assumptions about VSYNC... and the like:
    If I look at the Datasheet:...
  12. Replies
    1
    Views
    102

    The simplest thing to do is to use the...

    The simplest thing to do is to use the attachInterrupt()... code.

    But if you don't want to use it, look at it... (interrupt.c)

    You will see that for T4.x we don't have fixed names for...
  13. Frame buffer can make it easier to work work...

    Frame buffer can make it easier to work work without flicker... Of course you again do this without using DMA. just use tft.updateScreen() instead.

    Likewise you can probably write all of this...
  14. Note: the library only does DMA if you call the...

    Note: the library only does DMA if you call the async to update.

    And yes you should not start up a new update until the previous one failed. There is code in there to try to fail the update if...
  15. Replies
    15
    Views
    286

    Might help to actually see what is hooked up to...

    Might help to actually see what is hooked up to what?

    That is we know the Sparkfun works with SPI. But it looks like it is a different setup? This one?...
  16. Replies
    36
    Views
    443

    Again I would suggest check your wiring. My...

    Again I would suggest check your wiring.

    My one arrived today, I hooked it up to a T3.6 ... Quick and dirty

    21786

    I ran the unedited Adafruit library test program:

    ...
  17. Sorry, hope we will figure it out soon. ...

    Sorry, hope we will figure it out soon.

    Debugging things like this can be a real pain... Problem is it is hard for me to help much as I don't have your setup...

    So can only help steer you. ...
  18. Replies
    7
    Views
    257

    I did a quick and dirty and added the entry and...

    I did a quick and dirty and added the entry and build on RPI and was able to program a T4.1 with a simple fast blink program.

    I also updated Readme file:...
  19. Should mention, there are ways for you to talk to...

    Should mention, there are ways for you to talk to second PC through the host if you desire. At least by simple Serial...

    That is we support many of the USB to Serial adapters (FTDI, PL2303,...
  20. Serial.flush(); Which is the exact same code as...

    Serial.flush();
    Which is the exact same code as : Serial.send_now();

    Tells the USB Serial code to send what it has currently in the buffer and not wait until the buffer is full or there is a...
  21. Again need to localize down your issue. Note:...

    Again need to localize down your issue.

    Note: HX... display by Adafruit - Does not need MISO pin as the device is read only... Unless you are using something like the SD card on the display.
    ...
  22. Sorry, but I am not sure how much I can help. ...

    Sorry, but I am not sure how much I can help.

    Other than make suggestions on helping you debug it.

    Things like: When you say the screen freezes, does that simply mean the screen no longer...
  23. Replies
    7
    Views
    257

    Yep - It only adds it in part way... Still don't...

    Yep - It only adds it in part way... Still don't have any of the information about time, but that is also true for T4...

    Would also be good to update the Readme file and website as well.
  24. Replies
    7
    Views
    257

    I have not tried it yet, but it might be as...

    I have not tried it yet, but it might be as simple as adding one line to the sources:

    } MCUs[] = {
    {"at90usb162", 15872, 128},
    {"atmega32u4", 32256, 128},
    {"at90usb646", 64512, ...
  25. Replies
    4
    Views
    200

    In most cases like this you need to look at the...

    In most cases like this you need to look at the sources... and manual:

    PWM: Depends on which pin... Some are FlexPWM and others are Quad timers.

    I believe the default F_BUS_ACTUAL is 150000000...
  26. Sorry I have not had a chance to look more at...

    Sorry I have not had a chance to look more at your code.

    But Will try to answer some: Your setup code starts off like:

    void setup()
    {

    pinMode(buttonPin,INPUT);
    ...
  27. Again maybe it would help to see link to which...

    Again maybe it would help to see link to which one you actually have.

    For example: I see this one: https://www.hobbytronics.co.uk/mfrc522-reader
    And I see it for sale in a few other places.
    ...
  28. As always when typed in on the fly you can run...

    As always when typed in on the fly you can run into issues. Especially for stuff I simply copied from your previous post...

    After fixing your dataArray... (Also moved it after the previous...
  29. Sorry, Maybe it is just me, but it is unclear...

    Sorry, Maybe it is just me, but it is unclear from your description what your issue is?

    For example is it that your code is not working or, you are having issues getting both devices to work with...
  30. Replies
    2
    Views
    137

    Sorry never heard of the r4 library. As for...

    Sorry never heard of the r4 library.

    As for which library to use...

    You of course also have the option of using the Adafruit library.

    Depending on your needs, you can use any of them. I...
  31. Replies
    5
    Views
    162

    I am not sure if it would help much, but I do...

    I am not sure if it would help much, but I do have a sketch I posted about yesterday (with a PR to add to hopefully next release of Teensyduino), that prints out a lot of information about device...
  32. Sorry, I have not gone through all of the flicker...

    Sorry, I have not gone through all of the flicker free code or the like, to know if for example they ever do anything like updateScreenAync or the like. That is the only case that the HX... library...
  33. Replies
    5
    Views
    162

    Looks like everything about this USB device is...

    Looks like everything about this USB device is vendor specific...

    You already turned on the main debug output code.

    But: many of the source files have debug code commented out. As being too...
  34. Sorry was simply trying to answer your original...

    Sorry was simply trying to answer your original question as best as I understood it. Sorry I am not going to watch 8 videos...


    A very Simple, don't have to think much way to, do this is with...
  35. Replies
    7
    Views
    285

    Sorry I did not see this thread either, but there...

    Sorry I did not see this thread either, but there have been a few others recently...

    The simplest one is to use a simple USB extension that converts to a something you like.

    Maybe something...
  36. Note: I have never used unsigned long long int...

    Note: I have never used unsigned long long int before, my understanding is it should create 64 bit variable, but guessing.

    So did a quick and dirty using uint64_t instead as then I know it should...
  37. Replies
    129
    Views
    19,445

    Quick note (mostly talking to myself)... Added...

    Quick note (mostly talking to myself)...
    Added another class (2 files) to example sketch which implement a USB class that only does the claim method... And never claims, but prints out information...
  38. Replies
    129
    Views
    19,445

    Again can only do so much to help support these...

    Again can only do so much to help support these devices when I don't have any such device...

    However as I have mentioned, I have done a new example, which is in a new branch of my Fork and have...
  39. Replies
    129
    Views
    19,445

    I went ahead and added my current version of this...

    I went ahead and added my current version of this sketch to my branch of the library (https://github.com/KurtE/USBHost_t36/tree/HIDDeviceInfo-Example) and issued a Pull Request:...
  40. Replies
    4
    Views
    200

    Also note: when a teensy ships the code is setup...

    Also note: when a teensy ships the code is setup that it does not have USB type of serial, so will not respond to Serial reboots..

    So for new boards, I will typically use a simple blink program. ...
  41. Sometimes hard to know what is going on, when we...

    Sometimes hard to know what is going on, when we can not see the code... Or output.... Also I am not much of a Linux expert, but maybe whatever you are using to see the Serial input is getting...
  42. The wire parameter is at the end and a pointer,...

    The wire parameter is at the end and a pointer, and wire1 should be Wire1 (case sensitive) ... So: BME280 bme2(wire1, 0x76);

    Try something like: BME280 bme2(0x76, &Wire1);
  43. Replies
    129
    Views
    19,445

    With Keyboards, Most keyboards mark themselves as...

    With Keyboards, Most keyboards mark themselves as boot devices and there is a fixed known format for them.

    However for example I did plug in a Dell Multimedia keyboard and I may extend my code...
  44. Replies
    129
    Views
    19,445

    I am having some fun as well. Here is an...

    I am having some fun as well.

    Here is an updated version with a little more goodies which I will flesh out some more here...

    In particular for many of the usages, it gives a logical Name to...
  45. Replies
    129
    Views
    19,445

    To try to get some additional information, I...

    To try to get some additional information, I hacked up a real simple HID client subclass that dumps out data as it runs.

    It simply prints out the data that the HID parser class is sending to it,...
  46. Replies
    829
    Views
    30,704

    Afternoon now... I did some hacking up of a...

    Afternoon now...

    I did some hacking up of a dump HID inputs... Maybe take a look and see what you think?
  47. Replies
    36
    Views
    443

    Again at least with that last photo, it is hard...

    Again at least with that last photo, it is hard to follow the wires, but I am unsure if on A4/A5 Or if it is off by one A5/A6... (again why I run the HiLow test to take the doubt out of things...)
  48. Replies
    36
    Views
    443

    Again maybe show current picture (sized to

    Again maybe show current picture (sized to < 1mb...) The attachments above are not valid...
  49. Replies
    829
    Views
    30,704

    @mjs513 - Good morning... I am guessing there...

    @mjs513 - Good morning...

    I am guessing there could be some form of timing issue. Example Yesterday I decide to make a version with GDB stub to see if maybe we crashed or the like, and instead...
  50. Replies
    129
    Views
    19,445

    @xxxajk and @LERAY - We do have an interface...

    @xxxajk and @LERAY - We do have an interface class for HID which our other classes that have HID data are sub-classes of...

    And yes you can create your own class to handle... Some of these class...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4