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
    1
    Views
    63

    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...
  2. 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...
  3. 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...
  4. Replies
    15
    Views
    273

    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?...
  5. Replies
    36
    Views
    415

    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:

    ...
  6. 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. ...
  7. Replies
    7
    Views
    241

    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:...
  8. 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,...
  9. 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...
  10. 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.
    ...
  11. 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...
  12. Replies
    7
    Views
    241

    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.
  13. Replies
    7
    Views
    241

    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, ...
  14. Replies
    4
    Views
    166

    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...
  15. 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);
    ...
  16. 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.
    ...
  17. 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...
  18. 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...
  19. Replies
    2
    Views
    120

    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...
  20. Replies
    5
    Views
    134

    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...
  21. 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...
  22. Replies
    5
    Views
    134

    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...
  23. 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...
  24. Replies
    7
    Views
    270

    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...
  25. 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...
  26. Replies
    129
    Views
    19,394

    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...
  27. Replies
    129
    Views
    19,394

    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...
  28. Replies
    129
    Views
    19,394

    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:...
  29. Replies
    4
    Views
    183

    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. ...
  30. 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...
  31. 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);
  32. Replies
    129
    Views
    19,394

    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...
  33. Replies
    129
    Views
    19,394

    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...
  34. Replies
    129
    Views
    19,394

    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,...
  35. Replies
    829
    Views
    30,572

    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?
  36. Replies
    36
    Views
    415

    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...)
  37. Replies
    36
    Views
    415

    Again maybe show current picture (sized to

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

    @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...
  39. Replies
    129
    Views
    19,394

    @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...
  40. Replies
    10
    Views
    320

    @Paul and @defragster - As you mentioned, we...

    @Paul and @defragster -

    As you mentioned, we could probably know the size of what was previously allocated... But at the time I did the above sketch with a quick and dirty implementation of...
  41. Replies
    129
    Views
    19,394

    There are lots of devices out there that we do...

    There are lots of devices out there that we do not have support yet for. All of the ones that we have gotten to work is due to either a few us spending our own time
    and and ... In most cases to...
  42. Replies
    36
    Views
    415

    Pictures I believe need to be under 1mb in size...

    Pictures I believe need to be under 1mb in size...
  43. Replies
    10
    Views
    320

    I would never say never ;) There are comments...

    I would never say never ;)

    There are comments in cores\teeny4\startup.c:

    // TODO: zero uninitialized EXTMEM variables
    // TODO: copy from flash to initialize EXTMEM variables
    // TODO:...
  44. Replies
    36
    Views
    415

    Unclear here, did it hang and not print anything...

    Unclear here, did it hang and not print anything or did it say something like nothing found.

    Example run from T3.6 to board with SHT31...

    I2C Scanner
    Scanning...
    Device found at address 0x44...
  45. Replies
    129
    Views
    19,394

    Sorry, as I tried to imply a few messages ago, I...

    Sorry, as I tried to imply a few messages ago, I really don't know what you are doing or what your setup is...
    Where does MIDI and Mouse come in here?

    From sounds of it, you are plugging in an...
  46. Replies
    829
    Views
    30,572

    Sounds promising! Been busy with some other...

    Sounds promising! Been busy with some other stuff (like moping ;) ) Right now trying to let my head and stuff clear as we are about 200ppm bad stuff right now and I feel it...

    As I mentioned I...
  47. Replies
    36
    Views
    415

    I have one on order... Probably won't have until...

    I have one on order... Probably won't have until end of week...


    But again showing a picture might help. Maybe see something like SCL/SDA lines reversed or pins off by one or???

    Sometimes...
  48. Replies
    129
    Views
    19,394

    Not sure... I don't know of any work that has...

    Not sure... I don't know of any work that has been done on any of that stuff in a long while... But probably does not hurt to try!
  49. Actually then you could probably quick and dirty...

    Actually then you could probably quick and dirty update the two files associated with that library.

    I don't know if I have the version of the library you have, but quick and dirty (edited did not...
  50. Replies
    129
    Views
    19,394

    Are you talking USB Host or are you talking the...

    Are you talking USB Host or are you talking the USB Type that the PC sees the Teensy as?

    If the later probably wrong thread....
    But to do the USB type ... I am not sure if T3.6 still? If the...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4