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

    Sorry, don't see enough stuff here to have a...

    Sorry, don't see enough stuff here to have a clue.

    That is in many cases like this, it is often things like your software crashed and system was in a bad state... Things like derefencing a NULL...
  2. Slight note: I believe you can call the...

    Slight note:
    I believe you can call the functions like setRX before or after the Serial2.begin...

    However if you do it in the order:


    Serial2.begin(9600);
    Serial2.setRX (26);...
  3. Replies
    21
    Views
    321

    Sorry, not seeing much. I assume you have...

    Sorry, not seeing much.

    I assume you have power to the board/motors, as I think I saw it would not work properly without power...

    It looks like it should be properly driving the SPI2 pins, as...
  4. Replies
    21
    Views
    321

    Maybe post your stripped down sketch on the off...

    Maybe post your stripped down sketch on the off chance one of us will see something obvious.

    Also have you posted something directly to sparkfun to see if they have any ideas?
  5. Note: the list of authorized distributors can be...

    Note: the list of authorized distributors can be found on the right hand side of the imain products page: https://www.pjrc.com/store/
  6. Replies
    4
    Views
    128

    Part of it by playing with a lot of this stuff...

    Part of it by playing with a lot of this stuff over several years.

    And then an open SublimeText 3 (editor) window open on the (<arduino install>/hardware/teensy/avr) directory and doing a global...
  7. Replies
    110
    Views
    14,454

    @GrahamH - Obviously Paul is the best one to...

    @GrahamH - Obviously Paul is the best one to answer this, but might help if you mentioned what you are looking for.

    That is, you might be able to find what you are looking for, by looking at a...
  8. Replies
    4
    Views
    128

    Sorry, I have not played around very much with...

    Sorry, I have not played around very much with RTC...

    But if I were going to, I would look at the stuff built into the core:

    Both Teensy 3.x and 4.x have a class built in:

    class...
  9. Again I am no expert... But I believe normally if...

    Again I am no expert... But I believe normally if it starts up at all, you would see something on the usb 1-1.2 if it was plugged into the same port on the last one.

    So it looks like it did not...
  10. Replies
    19
    Views
    12,343

    I have not used AtmelStudio in a long time. When...

    I have not used AtmelStudio in a long time. When I use VisualMicro I typically use it with Visual Studio 2019.

    Warning I don't use VisualMicro that often, but I know that it can be configured...
  11. Replies
    8
    Views
    194

    I second what @MarkT mentioned. I am old timer...

    I second what @MarkT mentioned. I am old timer and forgot they now allow variables to be allocated on the stack which are not fixed sized...
    So I would have probably done something like simply...
  12. Replies
    21
    Views
    321

    Next step if it were me, would try just the board...

    Next step if it were me, would try just the board and no display, just do serial outputs of the values and see if that works...

    If not, then I would maybe try hacking the library and hack the...
  13. currently there is no malloc/free operations on...

    currently there is no malloc/free operations on T4.x that allow you to allocate unused memory in the DTCM area of memory.

    Note: especially when you add a T4.1 into the mix with the possibility of...
  14. Replies
    21
    Views
    321

    Yes maybe looking at schematic it may simply pass...

    Yes maybe looking at schematic it may simply pass it on. - BUT, did you change the the hardware SDO jumper on the first board (closest one to the Teensy?)...
    Otherwise probably both SDO (MISO) pins...
  15. Replies
    8
    Views
    194

    I don't see int he code you pasted where for...

    I don't see int he code you pasted where for example dirName is defined, so sometimes hard to know, what is going on. Maybe dirName is not long enough to hold the whole thing and memory get...
  16. Replies
    21
    Views
    381

    Morning @mjs513 - I am on my third half cup... It...

    Morning @mjs513 - I am on my third half cup... It is late here almost 7AM...

    For what it is worth, I rehooked up my BNO080 using hardware jumper to choose SPI. and used default pins for all...
  17. Replies
    36
    Views
    1,285

    Also related: The USB Host adapter cable:...

    Also related: The USB Host adapter cable: https://www.pjrc.com/store/cable_usb_host_t36.html
    Should be updated to say that this works on T4.1 as well.

    Which with the pictures showing the RED...
  18. Replies
    21
    Views
    381

    I have no idea! That is as far as I can tell,...

    I have no idea! That is as far as I can tell, the sparkfun only does the cs support by using plain vanilla things like pinMode(_cs, OUTPUT); and digitalWrites();

    So my only guesses include
    a)...
  19. Replies
    21
    Views
    321

    Sorry, I have never used their controllers and...

    Sorry, I have never used their controllers and have done almost nothing with motors like this, so take with grain of salt. But in many cases like this my first guess is either bad hardware and/or...
  20. Yes - Wish there was a back page on the T4.1...

    Yes - Wish there was a back page on the T4.1 card...

    My quick print of my T4.1 extended card from the Excel document that @defragster mentioned,

    21877

    I updated slightly, it may not show up...
  21. You are welcome. And yes same as button. From...

    You are welcome. And yes same as button. From the pjrc web page with schematics...
    21867

    I would also maybe see if a simple change in sketch maybe helps

    In setup maybe something like:

    void...
  22. Sorry not really any reasonable ideas, and would...

    Sorry not really any reasonable ideas, and would start with Paul's suggestions.

    Some other things I would look at include:

    a) Does it appear like the Teensy is powered up in some of your...
  23. Replies
    4
    Views
    185

    As @Jonr stated... you could timestamp... But...

    As @Jonr stated... you could timestamp...

    But it will likely depend on your specific desired requirements...
    That is how often are you doing samples? For example suppose you are doing 100 per...
  24. Replies
    3
    Views
    211

    Sorry, I am not sure if there is any easy answer...

    Sorry, I am not sure if there is any easy answer to this, nor any tutorials,

    The way I have learned about doing DMA, is by looking at other code doing DMA... Plus looking through the reference...
  25. I probably have one of these although it came...

    I probably have one of these although it came with a small ribbon cable and small adapter part which I never tried and probably lost... I have a 5" with their resistive.
    I also have a couple of...
  26. Replies
    4
    Views
    148

    I assume a T3.x? As 14 is not a SCK pin on T4.x....

    I assume a T3.x? As 14 is not a SCK pin on T4.x.

    I did a quick look at ethernet library and did not find anywhere it did stuff with the SPI pins... But I might have missed it.
  27. Looks like fun. I have done some larger hats for...

    Looks like fun. I have done some larger hats for other RPI boards, but not for the Pi zero...

    Could be an interesting product.
  28. There is no real state machine stuff here. ...

    There is no real state machine stuff here. Typically state machine is usually something like, I am in state X, if condition Y happens I go to state Z...

    This is just a simple set of nested if...
  29. Which display do you have? Which library are you...

    Which display do you have? Which library are you using, which example?
  30. Again look at your loop code: void loop() { ...

    Again look at your loop code:

    void loop()
    {

    if (firstsecond >= 1000)
    {

    if (TCmillis >= 50)
    {
  31. Quick note on warnings: The lines: ...

    Quick note on warnings: The lines:

    C:\Users\Bpierik\Documents\Arduino\libraries\Adafruit_MAX31855_library/Adafruit_MAX31855.h:49:32: warning: passing NULL to non-pointer argument 1 of...
  32. Replies
    6
    Views
    146

    Actually I understand what a break signal is. ...

    Actually I understand what a break signal is. Maybe not exactly the underlying timing...

    BUT what you are mentioning is what it would do on a hardware UART. What is unclear is what does it do...
  33. Replies
    2
    Views
    201

    I believe maybe @FrankB may have library to help...

    I believe maybe @FrankB may have library to help show memory usage and the like...

    I do have an example sketch in the ST7735 library (uncannyEyes_asyc_st7789_240x240... which has some stuff I...
  34. Replies
    6
    Views
    146

    A couple of quick notes. There is no FTDI chip...

    A couple of quick notes. There is no FTDI chip on the Teensy boards. They all have processors with built in USB support.

    I am not sure what the PC sends when you do that in Java.

    I believe...
  35. In the case of needing 45-55 duty cycle, what...

    In the case of needing 45-55 duty cycle, what about 37.5mhz?

    Example sketch:

    void setup() {
    analogWriteFrequency(0, 30000000);
    analogWrite(0, 128);
    analogWriteFrequency(1,37500000);
    ...
  36. Replies
    498
    Views
    298,300

    My guess is it probably can. I have not used the...

    My guess is it probably can. I have not used the syncRead before, but I have done analogReads on an IntervalTimer...

    For example with my never finish Well monitoring code, that reads in 4 analog...
  37. @PhillB - I second that! For example you can...

    @PhillB - I second that!

    For example you can get cheaper ILI9341 displays than the one Paul or Adafruit sell, but you also pay for them to test them first to make sure they might actually work....
  38. Again whenever possible I try to: Keep it Simple...

    Again whenever possible I try to: Keep it Simple Stupid (KISS) ;)

    So here is a quick hacked up version of your sketch where I removed all of the transactions. Instead of sensors it just...
  39. But again why do you continue to call...

    But again why do you continue to call SPI.beginTransaction/endTransaction when it will be called internal to the calls to the sensors?
    Why do you also continue to do so in the display area, when...
  40. Again - always look for the simple stuff first. ...

    Again - always look for the simple stuff first.

    I always reformat the text to make sure things are what you think they are so for example loop:

    void loop()
    {
    if ((millis() -...
  41. 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,...
  42. 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:...
  43. 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.

    ...
  44. 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 =...
  45. @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...
  46. 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...
  47. 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...
  48. 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...
  49. 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...
  50. Replies
    1
    Views
    101

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