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
    241
    Views
    5,094

    @mjs513 and @pd0lew I did a quick hack up a...

    @mjs513 and @pd0lew

    I did a quick hack up a new branch and issued a PR back to Mike: https://github.com/KurtE/RA8875/tree/t4_Wire_choose



    I updated the touch screen example (did not upload...
  2. Replies
    241
    Views
    5,094

    The RA8875 code currently does not have any...

    The RA8875 code currently does not have any support for any Wire object other than Wire.
    (actually slight lie. on Arduino Due it always uses Wire1).

    The Owner(s) of this library could probably...
  3. Replies
    15
    Views
    140

    Hi @defragster - I should warn that I have not...

    Hi @defragster - I should warn that I have not given this a ton of thought. I was simply trying to emulate getting the two values for SCL/SDA into the same bits...

    A safer way maybe not to...
  4. Yes I have it working... It would help if you...

    Yes I have it working...

    It would help if you maybe gave a little more details, like, what version of Arduino and Teensyduino you are using? Platform maybe although maybe not so much in this...
  5. Replies
    15
    Views
    140

    I did a quick and dirty update to build on T4......

    I did a quick and dirty update to build on T4... I may do a PR, but I did a Arduino code format on my version and it

    It is up at: https://github.com/KurtE/Teensy_I2C_Sniffer_V11/tree/T4

    I did...
  6. I could be wrong but I have no idea why you would...

    I could be wrong but I have no idea why you would be looking at the state of the GPIOB_PDIR register? This is the Input state (read only register), of those IO pins on that object...
    You can readn...
  7. Replies
    31
    Views
    1,167

    Sticky: Yes I believe the update list meant to say...

    Yes I believe the update list meant to say QuadEncoder as it was attributed to @mjs513...
  8. Replies
    31
    Views
    1,167

    Sticky: Which Quad Timer Library? The user @luni has...

    Which Quad Timer Library?

    The user @luni has their own library that includes Quad Timer... Mentioned in a current thread:
    https://forum.pjrc.com/threads/59112-TeensyTimerTool

    PWM uses it for...
  9. It will be somewhere under your temp directory......

    It will be somewhere under your temp directory...

    On Windows 10, you can bring up a browser window, and in address field type in: %temp%
    In the resulting folder you may see directories with...
  10. Replies
    15
    Views
    140

    For whatever it is worth I was able to compile it...

    For whatever it is worth I was able to compile it for Arduino 3.2 after I uncommented the #if/#endif around the include of the math library at the top.

    Arduino does give me lots of warnings like:...
  11. Replies
    14
    Views
    124

    Just an FYI - With the Saleae logic analyzers -...

    Just an FYI - With the Saleae logic analyzers - If you have a lot of channels being captured, your sample rate is lower.

    For example with my Pro 8, with two channels, I can capture at 500mhz. ...
  12. If it were me, I would wonder about the work...

    If it were me, I would wonder about the work being done in the constructors...

    I have been bit in the past with constructors that do much more than simply store away some settings that were...
  13. Replies
    13
    Views
    136

    I believe a version of it is installed with...

    I believe a version of it is installed with Teensyduino - So for example on my machine it is at: C:\arduino-1.8.10\hardware\teensy\avr\libraries\i2c_t3
    i.e. where you install Teensyduino in the...
  14. Replies
    13
    Views
    136

    I believe a version of it is installed with...

    I believe a version of it is installed with Teensyduino - So for example on my machine it is at: C:\arduino-1.8.10\hardware\teensy\avr\libraries\i2c_t3
    i.e. where you install Teensyduino in the...
  15. Replies
    13
    Views
    136

    A few things going on... The current code...

    A few things going on...

    The current code sort of relies on the I2C_t3.h file to bring in Arduino.h...

    Since I2C_t3 is not currently ported over to work with T4, it did not bring in...
  16. Replies
    13
    Views
    136

    Probably the main issue, is I don't believe the...

    Probably the main issue, is I don't believe the i2c_t3 library has been ported over to the T4.

    I am not sure your zip file has your code?


    #define PIN_led 13
    IntervalTimer Watchdog_Timer;...
  17. Replies
    8
    Views
    93

    Sorry, I know some of this stuff is confusing. ...

    Sorry, I know some of this stuff is confusing. Also please note I am not a big user of the Analog stuff, but do use it some, and helped a bit to get the ADC library working on the T4.


    But it is...
  18. Quick update: Ran into issue with Wire library...

    Quick update: Ran into issue with Wire library with Adafruit_SSD1306, when I switched the constructor in the example to use Wire1 instead of Wire. The program would not link as it was missing the...
  19. Replies
    23
    Views
    595

    Yes as mentioned yesterday - This has to do with...

    Yes as mentioned yesterday - This has to do with setting the RX WATER mark value > 0... In my branch a couple of posts up I set it to 0...
  20. Replies
    31
    Views
    1,167

    Sticky: @rezo - Nope, The new MAC OS will not allow the...

    @rezo - Nope, The new MAC OS will not allow the old style of installer to update an Arduino Install. There have been several threads on this.

    Sorry I don't remember all of the appropriate MAC...
  21. Replies
    3
    Views
    50

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

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

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

    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...
  25. Replies
    23
    Views
    595

    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...
  26. 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...
  27. 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...
  28. 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...
  29. Replies
    8
    Views
    93

    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...
  30. Replies
    7
    Views
    258

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

    It is in the current release of Teensyduino, that was released this week.
  31. 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...
  32. 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...
  33. Replies
    4
    Views
    102

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

    @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...
  35. Replies
    13
    Views
    116

    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
  36. 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...
  37. Replies
    31
    Views
    1,167

    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:...
  38. 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...
  39. Replies
    241
    Views
    5,094

    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...
  40. Replies
    9
    Views
    132

    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...
  41. Replies
    241
    Views
    5,094

    @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...
  42. 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...
  43. Replies
    12
    Views
    158

    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...
  44. Replies
    31
    Views
    1,167

    Sticky: Which Teensy?

    Which Teensy?
  45. 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...
  46. 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...
  47. 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...
  48. Replies
    12
    Views
    158

    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...
  49. 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...
  50. Replies
    29
    Views
    2,454

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