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.05 seconds.

  1. Sorry, it is difficult to give you any hard...

    Sorry, it is difficult to give you any hard recommendations on what is best or the like, as we don't really know your actual requirements or what all your plans are...
    And many of us try to help,...
  2. I believe there is another way as well... At...

    I believe there is another way as well... At least I have been able to update two Teensy boards at the same time and same program using TyCommander.

    There are several threads on it including:...
  3. I boiled your loop() down to something really...

    I boiled your loop() down to something really basic:

    void loop()
    {
    if ((millis() - TC_previousMillis) >= 500)
    {
    Temperature = Thermocouple(); //just a variable double.

    ...
  4. Sorry I am not sure we are seeing the whole...

    Sorry I am not sure we are seeing the whole thing, and hard to know what is going on... Example:


    if (TC_currentMillis - TC_previousMillis >= 500)
    {
    Serial.print("TC start Millis in ms =...
  5. @bastiaan: I hear you, we have all been there. ...

    @bastiaan: I hear you, we have all been there. For example just ask me how to do something in JAVA, and I am lost... (Or busy with google)...

    There are many different ways for you structure your...
  6. I don't think all of the pins are on the T4.1 ...

    I don't think all of the pins are on the T4.1
    For example: CSI_DATA00 is on GPIO_B1_10 ALT2
    Which we do not have on T4.x We have GPIO_AD_B1_10 on which is different...

    What I don't know is if...
  7. Thanks Paul, I was just beginning to type in...

    Thanks Paul, I was just beginning to type in something similar... Sometimes I am torn between trying to answer the questions that are asked versus answer in the way that I would probably do it for...
  8. Yes you can return arrays or in your case a...

    Yes you can return arrays or in your case a pointer to a double variable.

    BUT: The first issue is when you return it, now what you return... That is you should probably just have one return...
  9. Also there are other issues with this function as...

    Also there are other issues with this function as well: Example lets simply concentrate on filling in the array and remove the return statements.
    You have something like:

    double...
  10. Replies
    1
    Views
    90

    Sorry it is hard to answer questions like this. ...

    Sorry it is hard to answer questions like this. As it is difficult to know what your actual issue is.

    For example what does this actually mean?

    Are you saying that ice crystals form on the...
  11. Again it really may not help much to spread this...

    Again it really may not help much to spread this out over at least three threads now.

    This code will not work, maybe many reasons, but one most obvious is your return statements!

    It looks...
  12. Replies
    181
    Views
    185,400

    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...
  13. 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...
  14. Replies
    3
    Views
    189

    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...
  15. 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...
  16. Replies
    1
    Views
    70

    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
  17. Replies
    4
    Views
    201

    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...
  18. 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...
  19. 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...
  20. 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...
  21. 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 ;)...
  22. 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:...
  23. Replies
    1
    Views
    105

    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...
  24. 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...
  25. 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...
  26. Replies
    15
    Views
    294

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

    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:

    ...
  28. 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. ...
  29. Replies
    7
    Views
    269

    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:...
  30. 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,...
  31. 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...
  32. 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.
    ...
  33. 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...
  34. Replies
    7
    Views
    269

    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.
  35. Replies
    7
    Views
    269

    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, ...
  36. Replies
    4
    Views
    206

    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...
  37. 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);
    ...
  38. 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.
    ...
  39. 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...
  40. 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...
  41. Replies
    2
    Views
    146

    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...
  42. Replies
    5
    Views
    168

    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...
  43. 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...
  44. Replies
    5
    Views
    168

    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...
  45. 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...
  46. Replies
    7
    Views
    296

    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...
  47. 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...
  48. Replies
    129
    Views
    19,517

    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...
  49. Replies
    129
    Views
    19,517

    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...
  50. Replies
    129
    Views
    19,517

    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:...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4