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; generated 19 minute(s) ago.

  1. Replies
    171
    Views
    31,016

    If possible use: const char*

    If possible use: const char*
  2. Replies
    171
    Views
    31,016

    I found a link on Ask Ubuntu, which I will fill...

    I found a link on Ask Ubuntu, which I will fill in, Will edit post from PC...

    But the data on my linux showed up like:

    kurt@kurt-XPS-8300:~$
    kurt@kurt-XPS-8300:~$
    kurt@kurt-XPS-8300:~$ cd...
  3. Replies
    171
    Views
    31,016

    For what it is worth, I booted up my old desktop...

    For what it is worth, I booted up my old desktop into Ubuntu 18.04.3 LTS .

    I then plugged in my Teensy with the MTP stuff on it and it showed up as an Icon on my desktop (Teensy MTP Disk) which I...
  4. Replies
    171
    Views
    31,016

    @WMXZ Thanks And sorry for diversion. ...

    @WMXZ Thanks

    And sorry for diversion.

    @luni

    But yes it was a pain... The main sketch looked like:

    #define DEFINE_HEX_GLOBALS
    #if ARDUINO>99
  5. Replies
    171
    Views
    31,016

    @luni - sounds interesting... Awhile ago, with...

    @luni - sounds interesting... Awhile ago, with another project (Robot Hexapod Code), The way I got around this was putting everything in header files, which the main sketch needed to include.
    ...
  6. Replies
    171
    Views
    31,016

    @WMXZ - You are right and I built it from the...

    @WMXZ - You are right and I built it from the unmodified example. One of these days I may get back to visual teensy.

    I guess what I am wondering, is what a typical Arduino user would think,...
  7. Replies
    171
    Views
    31,016

    Thanks, that did the trick! Looks like fun! ...

    Thanks, that did the trick! Looks like fun!

    Wondering how hard it would be to reorganize, the example or examples to make it more Arduino like... I know a lot of people up here don't like/use...
  8. Not a problem... There is now a readme... :D

    Not a problem... There is now a readme... :D
  9. Replies
    171
    Views
    31,016

    I hate to ask a stupid question - But suppose I...

    I hate to ask a stupid question - But suppose I was curious to try this all out.

    What do I need to do to make it work?
    I have SDFat-beta installed in my Arduino\libraries folder as the sdfat....
  10. Could have sworn that some of the comments...

    Could have sworn that some of the comments earlier in this thread already did mention that you started the imxrt-size stuff... :o

    Also I believe credited you with how to add a call to it in...
  11. Replies
    246
    Views
    5,279

    @mjs513 - I put in the code for initialize...

    @mjs513 - I put in the code for initialize Arduino DUE if that #define is set in the user config, it will initialize wire object to use Wire1.

    Also commented out a Serial.printf in RA8875.cpp file...
  12. Replies
    12
    Views
    102

    Good morning all... Just an FYI - I created a...

    Good morning all...

    Just an FYI - I created a PR: https://github.com/PaulStoffregen/cores/pull/422
    For now to simply change the magic number of 36 to 17 (could maybe be 18).

    Logic of it is: On...
  13. Replies
    11
    Views
    185

    So far I only know of the RA8875 display which...

    So far I only know of the RA8875 display which the link I gave earlier is the one I would use.

    I believe Buydisplay.com sells some other ones with an ssd1963 controller. I believe that only only...
  14. Replies
    12
    Views
    102

    @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...
  15. Replies
    12
    Views
    102

    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...
  16. Replies
    11
    Views
    185

    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...
  17. Replies
    12
    Views
    102

    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...
  18. Thread: Arduino 1.8.11

    by KurtE
    Replies
    7
    Views
    179

    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...
  19. Thread: TeensyTimerTool

    by KurtE
    Replies
    71
    Views
    910

    @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...
  20. Replies
    11
    Views
    185

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

    Thanks, but wondering if TeensyTimerTool might...

    Thanks, but wondering if TeensyTimerTool might work here?
  22. Replies
    20
    Views
    191

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

    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...
  24. Replies
    20
    Views
    191

    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) |...
  25. Replies
    11
    Views
    178

    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...
  26. Replies
    246
    Views
    5,279

    @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...
  27. Replies
    246
    Views
    5,279

    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...
  28. Replies
    20
    Views
    191

    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...
  29. 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...
  30. Replies
    20
    Views
    191

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

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

    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...
  34. 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...
  35. Replies
    20
    Views
    191

    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:...
  36. Replies
    14
    Views
    147

    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. ...
  37. 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...
  38. Replies
    13
    Views
    152

    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...
  39. Replies
    13
    Views
    152

    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...
  40. Replies
    13
    Views
    152

    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...
  41. Replies
    13
    Views
    152

    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;...
  42. Replies
    8
    Views
    108

    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...
  43. 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...
  44. Replies
    23
    Views
    615

    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...
  45. Replies
    33
    Views
    1,446

    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...
  46. Replies
    3
    Views
    56

    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...
  47. Replies
    6
    Views
    117

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

    @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.
    ...
  49. Replies
    23
    Views
    615

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

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