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
    3
    Views
    38

    When you do something like:...

    When you do something like: SPI.beginTransaction(SPISettings(26000000, MSBFIRST, SPI_MODE0))
    The 26mhz is telling the system that the maximum speed your device can handle is 26mhz.

    At which...
  2. Replies
    6
    Views
    89

    In cases like this, it would be good if you could...

    In cases like this, it would be good if you could give a link to the display that you are using...

    I believe some displays have some built in support for the backlight, where they input pin to...
  3. Replies
    20
    Views
    519

    @phijun - for the heck of it I have sent email to...

    @phijun - for the heck of it I have sent email to @PaulStoffregen about some of these issues and asked about the possibility of resolving some of this internal to the Hardware Serial port code.
    ...
  4. Replies
    20
    Views
    519

    However with your setup, I am starting to get...

    However with your setup, I am starting to get reasonable results when I switch to using Serial_9N1
    i.e. not generate or use parity bits.

    Also for double security, there are two places the 9th...
  5. Replies
    20
    Views
    519

    Sorry I am not a 9 bits expert. To know the...

    Sorry I am not a 9 bits expert. To know the right answer.

    That is you are asking for: SERIAL_9O1

    If I understand correctly you are asking for 9 Data bits plus an ODD parity bit. So the...
  6. Do you have an Anti-virus stuff running on your...

    Do you have an Anti-virus stuff running on your machine? Wonder size of temporary files created and how much disk space you have...

    Wonder what type of PC you are running, things like how much...
  7. Sorry not sure what is going on. If it were...

    Sorry not sure what is going on.

    If it were me, I would double check all wiring...

    I might check out wiring using the HiLow test that @defragster and I sort of kept evolving:


    void...
  8. I have not played with it nor looked carefully in...

    I have not played with it nor looked carefully in the reference manual: But maybe the:IRQ_SNVS_ONOFF = 48,

    Might be something, but have not looked yet to see when/if this one is actually...
  9. Replies
    4
    Views
    45

    Sorry, I really don't fully understand what you...

    Sorry, I really don't fully understand what you are asking?

    What do you mean by "using adc"? Are you saying that you are using the ADC library? or using some external adc? or...

    Might help...
  10. Replies
    7
    Views
    230

    It is in the current release of Teensyduino, that...

    It is in the current release of Teensyduino, that was released this week.
  11. Not sure, it works on the one tried, which is a...

    Not sure, it works on the one tried, which is a T4 plugged into breadboard, as well as the PJRC ILI9341 display plugged into same breadboard with jumper wires and it appears to be working.
    Would be...
  12. Quick update: to make it easier to try different...

    Quick update: to make it easier to try different SPI clock speeds, I now allow those two values to be passed in on the begin method. If they are not passed in, they will use the ones in the #defines...
  13. Replies
    4
    Views
    84

    just an FYI - As Paul mentioned, the speed of...

    just an FYI - As Paul mentioned, the speed of your code:


    uint8_t spiRec(uint8_t* buf, size_t len) {
    for (size_t i = 0; i < len; i++) {
    buf[i] = SPI.transfer(0XFF);
    }Will have gaps in...
  14. Replies
    13
    Views
    104

    @mjs513, looks like (or at least very similar) to...

    @mjs513, looks like (or at least very similar) to the one he posted.


    Again would be good to see pictures of setup. If for nothing else remove issues, like the IO pins were not soldered to the...
  15. Replies
    13
    Views
    104

    I don't see anything on their website for pin out...

    I don't see anything on their website for pin out nor actual picture of your setup. So hard to say what is going on. My guess is wiring issue. but again only guessing
  16. A couple of things to maybe check. First is...

    A couple of things to maybe check.

    First is which Adafruit library you are actually running.

    Why I mention this, is there are actually two different ones from Adafruit. The newer one I...
  17. Replies
    22
    Views
    694

    Sticky: @dataplow - Sorry it is hard to maybe diagnose...

    @dataplow - Sorry it is hard to maybe diagnose some of this without more specifics...

    First with Which version of Arduino? What type of computer? Windows? Linux? MAC? version of OS?

    Like:...
  18. Hopefully a person who uses MIDI might answer... ...

    Hopefully a person who uses MIDI might answer...

    But assuming that a Serial object is available either as Serial or HID type serial...

    You might be able to check if Serial is valid and only...
  19. Replies
    235
    Views
    4,980

    You can always do that, but suppose you wish to...

    You can always do that, but suppose you wish to use a different font that is not in the RA8875 library, like all of the ones that Paul has converted and I think Frank may also have a set. Up till...
  20. Replies
    9
    Views
    116

    Quick update: pulled out a T3.6 (actually 2nd...

    Quick update: pulled out a T3.6 (actually 2nd one) as the first one I pulled out has a problem with the two IO pins associated with Serial6...

    And test program I posted worked fine.

    Note: I...
  21. Replies
    235
    Views
    4,980

    @mjs513 - Looks great! A quick FYI to all -...

    @mjs513 - Looks great!

    A quick FYI to all - Some of this functionality came from the ili9341_t3n and some of the newer stuff was ported back into the ili9341_t3n.
    In particular, it also now...
  22. Yes there is the issue, of those files still...

    Yes there is the issue, of those files still existing. I have not played with that yet to see what they do. Could put blank files there if we need to. Yes would be nice if installer could remove...
  23. Replies
    12
    Views
    141

    In many cases like this, the first thing I often...

    In many cases like this, the first thing I often suspect is power issues.

    Again I don't know what the specs are for your relay board. I see some that look similar on Amazon.com, although looks...
  24. Replies
    22
    Views
    694

    Sticky: Which Teensy?

    Which Teensy?
  25. Actually I don't know if in general it will speed...

    Actually I don't know if in general it will speed up or slow down builds... That is I don't know if the system will be smart enough to know nothing changed in sources so don't recompile... And it...
  26. For what it is worth, I did a quick hack of Wire...

    For what it is worth, I did a quick hack of Wire library. Where I moved source files to SRC directory, updated library properties.

    Then for T4, I created a seperate source file for the three...
  27. Should some of our system libraries generate archive files (.a)?

    While trying to figure out how to resolve anther issue. In particular how to handle the same font defined in a display library as might be contained in a fonts library and not end up with a bunch of...
  28. Replies
    12
    Views
    141

    Might help to see hookup. Example are the...

    Might help to see hookup.

    Example are the teensy pins directly driving the relays? Or throw something like a transistor. I.e. wonder if enough current available to do relays. Do more than one go...
  29. I believe that most of the information is already...

    I believe that most of the information is already in this thread: Like posting: https://forum.pjrc.com/threads/58028-Pins-to-bring-out-on-a-hypothetical-larger-Teensy4?p=224111&viewfull=1#post224111...
  30. Replies
    29
    Views
    2,397

    @joi @PaulStoffregen, As mentioned, it may be...

    @joi @PaulStoffregen, As mentioned, it may be worthy of a new thread if it is still an issue. I reread some of it and my guess is there is a difference in how reading directly with analogRead versus...
  31. Replies
    9
    Views
    116

    Oops I was thinking Teensy 4... And you have...

    Oops I was thinking Teensy 4... And you have T3.6...

    On T3.6 Serial6 is a complete other animal. It does not internally use a UART hardware instead it uses an LPUART hardware... Which have...
  32. Replies
    9
    Views
    116

    I did a quick test of Serial6 and it appears like...

    I did a quick test of Serial6 and it appears like it works.


    #define HWSERIAL Serial6
    void setup(){
    pinMode(13, OUTPUT);
    while (!Serial && millis() < 5000) ;
    Serial.begin(115200);
    ...
  33. Replies
    9
    Views
    116

    Let me know if you find one that does not work. ...

    Let me know if you find one that does not work. Also let me know if you are having an issue with input or output.

    Kurt

    I know I tested them all earlier on in T4 beta. But it is always...
  34. Replies
    22
    Views
    694

    Sticky: I am not a big MAC user, but have a several year...

    I am not a big MAC user, but have a several year old MAC notebook which I use from time to time.

    I downloaded it, and I am pretty sure it is the whole thing. That is you don't run any installers....
  35. Example code showing your setup and issue?

    Example code showing your setup and issue?
  36. Hopefully someone who uses RPIs/Linux more than I...

    Hopefully someone who uses RPIs/Linux more than I do can give you better answers.

    It has been awhile, but I do plan to get back to it soon...

    If it were me, some of the next steps I would...
  37. Hi @hardiga, Looks like it is working at the...

    Hi @hardiga,

    Looks like it is working at the dmesg level...

    That is a Teensy is NOT an FTDI usb object so it will not have a name of ttyUSB0 or the like, but
    it does show up as an ACM device...
  38. Replies
    22
    Views
    840

    Yes might be your setup. I was not sure I...

    Yes might be your setup. I was not sure I properly soldered up the last board I did with a T4 that had a dynamixel setup, so instead,

    I hacked up a setup where I jumpered pins 0, 1, 2 of T4 to...
  39. Note: the web page :...

    Note: the web page : https://www.pjrc.com/teensy/td_digital.html as well as several others is more specific to the Teensy 1 and 2 (AVR) based setup.

    For information on some of this stuff you...
  40. Replies
    1
    Views
    77

    Sorry, I probably don't have the energy to do a...

    Sorry, I probably don't have the energy to do a complete review of all of this, but will give a few suggestions on possible solutions, which I hope helps you some.

    Frame buffers are a nice thing...
  41. Great stuff!

    Great stuff!
  42. I won't argue either :D Just suggesting that if...

    I won't argue either :D Just suggesting that if you are trying to get suggestions on different ways for two processors to communicate as fast as possible, that you might get some other suggestions if...
  43. Replies
    29
    Views
    2,397

    I am not sure what you mean by the don't see the...

    I am not sure what you mean by the don't see the step in the readings?

    I do know that he is sort of reducing some of the apis at the module level. to where you may have to change calls like this...
  44. You might want to start your own thread on this. ...

    You might want to start your own thread on this. This thread was mainly about how to use the GPIO ports on an AVR processor.

    On a thread for your project you may want to explain what you are...
  45. setClipRect(); - clears out the clip rectangle....

    setClipRect(); - clears out the clip rectangle. i.e. the whole screen is now available to be drawn to...

    Note: the ways I am setting the clip rectangle just around the update screen, allows all...
  46. Replies
    427
    Views
    262,381

    Yep, but should have version with t4 support in...

    Yep, but should have version with t4 support in next teensyduino release. Or you can download from github
  47. To me, the question, is if you only need to do...

    To me, the question, is if you only need to do this once, does it matter?

    That is you use pinMode initially to setup the 8 IO pins to be IO pins. Then you might be able to get away with...
  48. Setting an Teensy pin to be a digital Input pin...

    Setting an Teensy pin to be a digital Input pin is more involved than just setting the direction of the port.

    Most every pin on the Teensy can do more than one thing For example pin two can do...
  49. A quick FYI - I was asked again about the quick...

    A quick FYI - I was asked again about the quick and dirty gauge program I did, to show how one might do it.

    Was asked if there was a way to get quicker movement of needle. The answer is to limit...
  50. Which Teensy are you using?

    Which Teensy are you using?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4