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
    11
    Views
    47

    @luni, @PaulStoffregen - Again this is not a...

    @luni, @PaulStoffregen -

    Again this is not a big deal to me, but simply wondering if we should simply reduce this test a ways...

    That is this magic number is a simple hold over from the T3.x...
  2. Replies
    11
    Views
    47

    Thanks @luni, As an experiment, I edited the...

    Thanks @luni,

    As an experiment, I edited the header file to check for 23...
    Ran a simple test case:

    #include <IntervalTimer.h>
    IntervalTimer my_timer;
    uint32_t count = 0;
    uint8_t led_state...
  3. Replies
    8
    Views
    83

    Documentation - I am not sure I know that word ;)...

    Documentation - I am not sure I know that word ;)


    RA8875 - The library that we are playing with comes from: https://github.com/sumotoy/RA8875
    However the owner of this library and many other...
  4. Replies
    11
    Views
    47

    I know I have seen this discussed before, my...

    I know I have seen this discussed before, my guess is maybe in the big T4 beta thread...

    But if you look at interval timer header file, you will see that most of the calls all boil down to...
  5. Thread: Arduino 1.8.11

    by KurtE
    Replies
    5
    Views
    51

    Will be interesting to see what all is in 1.8.11?...

    Will be interesting to see what all is in 1.8.11? Maybe MAC fixes for the new security requirements?

    Things maybe to pull in:

    ADC - @Pedvide has pulled in my T4 support. Hopefully his...
  6. Thread: TeensyTimerTool

    by KurtE
    Replies
    68
    Views
    760

    @luni - Great stuff. Wondering a couple of...

    @luni - Great stuff.

    Wondering a couple of things: (Note: I am mainly looking at T4)

    This morning I was hacking on the Teensy_I2C_Sniffer sketch (different thread) and wondered if it would...
  7. Replies
    8
    Views
    83

    What I have ordered looks like this one you...

    What I have ordered looks like this one you mentioned:
    With Interface: Pin Head Connection-4-Wire SPI
    Power Supply=5V
    MicroSD= ? I think I ordered one with Pin Headers and one without... But have...
  8. Replies
    20
    Views
    162

    Thanks, but wondering if TeensyTimerTool might...

    Thanks, but wondering if TeensyTimerTool might work here?
  9. Replies
    20
    Views
    162

    As I noticed in the Edit of the above post,...

    As I noticed in the Edit of the above post, neither Interval TImer nor TImer1 will currently allow faster interrupt speed...

    So I hacked it up slightly for T4 to use .5us interrupts...
    In...
  10. Replies
    8
    Views
    83

    Might help to know which display you are wanting...

    Might help to know which display you are wanting to use? There could be lots of different displays with that size...

    But for example I know that BuyDisplay sells an RA8875 based 4.3" display...
  11. Replies
    20
    Views
    162

    Good Morning all, Note: I pushed up my change...

    Good Morning all,

    Note: I pushed up my change to explicitly set the actual bits instead of assume 0, 1 and shifting... current_portb = (digitalReadFast(SCL_PIN)? 4 : 0) |...
  12. Replies
    5
    Views
    98

    I typically use DipTrace - https://diptrace.com/...

    I typically use DipTrace - https://diptrace.com/

    I know that Eagle has improved, but I did not like the User Interface when I started doing stuff... I do have an old license for a Eagle that...
  13. Replies
    242
    Views
    5,137

    @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...
  14. Replies
    242
    Views
    5,137

    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...
  15. Replies
    20
    Views
    162

    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...
  16. 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...
  17. Replies
    20
    Views
    162

    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...
  18. 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...
  19. Replies
    33
    Views
    1,283

    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...
  20. Replies
    33
    Views
    1,283

    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...
  21. 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...
  22. Replies
    20
    Views
    162

    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:...
  23. Replies
    14
    Views
    130

    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. ...
  24. 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...
  25. Replies
    13
    Views
    143

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

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

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

    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;...
  29. Replies
    8
    Views
    96

    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...
  30. 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...
  31. Replies
    23
    Views
    604

    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...
  32. Replies
    33
    Views
    1,283

    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...
  33. Replies
    3
    Views
    53

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

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

    @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.
    ...
  36. Replies
    23
    Views
    604

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

    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...
  38. 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...
  39. 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...
  40. 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...
  41. Replies
    8
    Views
    96

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

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

    It is in the current release of Teensyduino, that was released this week.
  43. 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...
  44. 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...
  45. 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...
  46. Replies
    13
    Views
    118

    @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...
  47. Replies
    13
    Views
    118

    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
  48. 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...
  49. Replies
    33
    Views
    1,283

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