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. It looks like SPI library call SPI.transfer(x)...

    It looks like SPI library call SPI.transfer(x) has issues if the library leaves the SPI buss configured for 16 bit mode.

    So now the output data 16 bits last, now switches back to 8 bits and also...
  2. Nope, appears to be an issue... I will take a...

    Nope, appears to be an issue... I will take a quick look...
  3. Note: I hooked up an LC, although slightly...

    Note: I hooked up an LC, although slightly different pins...


    #include <XPT2046_Touchscreen.h>
    #include <SPI.h>

    #define TEST_DISPLAY 1
    #define USE_T3N 0

    #define TOUCH_IRQ_PIN 255 /* vs 2...
  4. Forgot to mention, what gotcha that I have found...

    Forgot to mention, what gotcha that I have found using Visual Studio,

    Is their library search order does not match the Arduino Search Order.

    For example with a current build of my Hexapod...
  5. Replies
    5
    Views
    67

    The simple answer is that I believe the hardware...

    The simple answer is that I believe the hardware does support DMA operations.

    BUT:

    I am not sure if there are any libraries that currently do this.

    It looks like the owner of the library...
  6. If needed, I can probably wire something up... ...

    If needed, I can probably wire something up...

    But the first thing I would try, is something simple, which should be in the touch paint, but does not look like it is...

    That is if you are using...
  7. Replies
    3
    Views
    120

    Yes should be, if you have systems that know how...

    Yes should be, if you have systems that know how to make use of the CS pins... But for the most part the majority of libraries don't they simply do:

    digitalWrite(CS, LOW);
    Do my SPI stuff...
  8. Replies
    3
    Views
    120

    Yes, you have 3 SPI busses on the T4.1 which I...

    Yes, you have 3 SPI busses on the T4.1 which I show in my excel document: Screen shot
    20853

    And again you access the pins like SPI.transfer will use your fist set of pins and likewise...
  9. Thanks, As I mentioned on thread up on...

    Thanks,

    As I mentioned on thread up on VisualMicro(https://www.visualmicro.com/forums/YaBB.pl?num=1593297620/0#9)
    This will come in handy to help debug some stuff including some hexapod code.
    ...
  10. In some of these cases, the ADC has given you...

    In some of these cases, the ADC has given you greater control over the different settings that control the ADC timings...

    Again there is lots of details in the first messages by @pedvide in the...
  11. Replies
    263
    Views
    6,165

    @Manu - Official ? As with everything Github ;)...

    @Manu - Official ? As with everything Github ;) the one you are using...

    Hopefully they are all pretty much in sync right now. That is I believe all of the stuff we were working on is now...
  12. Again if you look at I think posting 51, the...

    Again if you look at I think posting 51, the example code I did showed the different settings for analogRead() and how long it took to do so many of them......
  13. Replies
    263
    Views
    6,165

    @mjs513 did the majority of the work......

    @mjs513 did the majority of the work... Especially while I waited for about 6 weeks for my board to arrive.

    Warning: with rotations, I don't believe we ever got the built in system fonts to work...
  14. If you went off of my fix branch it was merged...

    If you went off of my fix branch it was merged into Paul’s master branch and released with the latest release of teensyduino
  15. Replies
    263
    Views
    6,165

    @manu - Thanks Yes - As you mentioned, the...

    @manu - Thanks

    Yes - As you mentioned, the display pulls more amperage than 3.3v regulator on the T3.x or T4.x will like to provide, which is why I ordered mine configured for +5v. And so far it...
  16. Replies
    8
    Views
    139

    Sorry, it is unclear to me, what the issue is? ...

    Sorry, it is unclear to me, what the issue is?

    Does not give me enough information to give any suggestions.

    Does not compile? If so what are the compile errors.
    Screen is blank?
    Garbage on...
  17. Note: if this display display is like the 9"...

    Note: if this display display is like the 9" RA8876 display I purchased from them, it was setup (jumper options) that you had to use an external IO pin connected to the backlight pin.

    I have since...
  18. As mentioned the labels on the back of these...

    As mentioned the labels on the back of these displays are confusing at best.
    What I hooked up:

    Just Display:

    VCC=VUSB, GND=GND,
    RESET=8
    A0 is DC = 9
    SDA (DATA = MOSI) = 11
    SCL (CLOCK =...
  19. Again an FYI - we have the ILI9488_t3 library...

    Again an FYI - we have the ILI9488_t3 library which I have run on their display. Thought about trying it again, if it was same wiring as RA8875/RA8876 displays that I have a board that I could use, ...
  20. You might take a look at the Tindie product:...

    You might take a look at the Tindie product: https://www.tindie.com/products/onehorse/lipo-battery-charger-add-on-for-teensy-31/

    There are probably also threads up here on the forum talking about...
  21. Actually now I think it is the BLACKTAB that...

    Actually now I think it is the BLACKTAB that should be used.

    I don't have the Adafruit 1.8" version but I do have one by HiLetGo...
    https://smile.amazon.com/gp/product/B00LSG51MM/

    Took me a...
  22. Does it help if you try: INITR_18GREENTAB in the...

    Does it help if you try: INITR_18GREENTAB
    in the call to tft.initR?
  23. Works for me: 20820 Probably the next real...

    Works for me:
    20820

    Probably the next real question is what is your display? What are you actually running on the UNO? Could you list or include your actual sketch that you ran on the UNO......
  24. Replies
    11
    Views
    172

    Lots, but maybe none that will help here ;) ...

    Lots, but maybe none that will help here ;)

    My problem here is, I have no idea of how you build this? Yes you say Arduino and you uploaded the .ino file. But does this github project actually...
  25. Those pins are the same as the T4 pins that are...

    Those pins are the same as the T4 pins that are on the outside of board... And almost identical to the pins on T3.6/T3.5 at those exact positions.

    That is On/Off, Program, GND 3.3V and VBat... ...
  26. Replies
    75
    Views
    2,085

    As I mentioned, I tried it on my 4.3" RA8875 and...

    As I mentioned, I tried it on my 4.3" RA8875 and it worked fine. I could probably also hook up the 5" as well, but as you mentioned it does have different wiring.

    But as mentioned good enough to...
  27. Yes that is the fun of it, and yes there can be a...

    Yes that is the fun of it, and yes there can be a lot of frustration of figuring out why somethings don't work...

    As you mentioned, having the fastest raw speed may not be any good if it gives you...
  28. Paul I create a Pull Request with it using the...

    Paul I create a Pull Request with it using the drawRect code to output one scan line at a time...
    https://github.com/PaulStoffregen/ST7735_t3/pull/18

    Could do this just for T4.x - But I believe...
  29. @mjs513 (@Paul) - Yes the best fix is to rework...

    @mjs513 (@Paul) - Yes the best fix is to rework the function.
    Actually I just did a copy of the function directly out of my ili9341_t3n version into the example here,
    with 1 edit in ili9341_t3n it...
  30. @Paul and ... Now I am remembering some more. ...

    @Paul and ... Now I am remembering some more.

    Earlier I did try to put in some support for this into display code, to disable the calls to

    void ST7735_t3::setAddrWindow(uint16_t x0, uint16_t...
  31. Yes you are right it does not work... It reads...

    Yes you are right it does not work... It reads the file.

    The issue is when we added SPI.transaction support, it really did not work well with
    sketches that: tft.setAddrWindow(x, y,...
  32. Or maybe an incompatible file format on the...

    Or maybe an incompatible file format on the SDCard? I don't remember if this library came with it's own example formatter program, I believe SDFat does...
  33. Replies
    770
    Views
    25,571

    Yep LA, plus plug into Linux and see what it...

    Yep LA, plus plug into Linux and see what it shows... plus google to see if someone has driver...
  34. Replies
    11
    Views
    172

    As @defragster mentioned, I would have expected...

    As @defragster mentioned, I would have expected to see a file like: ButtSeqs.ino in that folder if this is something to build using Arduino.

    Arduino can build .cpp files and I do it all of the...
  35. Replies
    770
    Views
    25,571

    May have to order one... I have their earlier BT4...

    May have to order one... I have their earlier BT4 version: https://www.amazon.com/gp/product/B07J5WFPXX
    Which I am pretty sure that worked...

    Ordered... Should be here Monday.
  36. @frankzappa - What you are doing sounds good. My...

    @frankzappa - What you are doing sounds good. My main suggestion, is when you are starting out, for me the best thing is to try small bits and pieces, and most importantly have fun!

    Again if I...
  37. Sorry, I am not sure on how this compiles or...

    Sorry, I am not sure on how this compiles or doesnot. The log vile looks like excerpts of stuff...

    What would be good, is if you have a reasonably simple sketch that errors out now, that you...
  38. Replies
    770
    Views
    25,571

    Microsoft Mouse... Depends on which one... Also...

    Microsoft Mouse... Depends on which one... Also as mentioned I did not see any mention of Mouse. So make sure example has a mouse object in it. Also probably need to make sure the Bluetooth object...
  39. It is great that you are trying out different...

    It is great that you are trying out different things here, but again not really sure of what you are trying to accomplish? Or how much faster you believe this code is versus, simply using...
  40. If your goal is to read several ads pins as quick...

    If your goal is to read several ads pins as quick as possible, I believe there are some higher speed ways that we experimented with (mostly @mjs513), where you chain up ADC with ADCL XBAR... and I...
  41. It should also be noted (maybe by design) that if...

    It should also be noted (maybe by design) that if you try to allow it to Take Over Serial, the code will not compile, if your code does things like:
    Serial.read().... At least when I tried it as it...
  42. Again sometimes your differences are next to...

    Again sometimes your differences are next to nothing... Better to first worry about getting your code working properly and then if/when necessary, find out where your performance issues are and work...
  43. Replies
    10
    Views
    1,057

    Quick update here: - Maybe should post on...

    Quick update here: - Maybe should post on Visual_Micro forum... But thought I would mention more here in case anyone else tries it here.

    Took me a couple of attempts to get some of this stuff to...
  44. Visual Studio/Visual Micro - I have not done much...

    Visual Studio/Visual Micro - I have not done much with them. In theory if your settings are setup the same as Arduino IDE, you should get the same speed (I think)... But.

    writeRect4BPP - How to...
  45. Thread: Teensy Qt

    by KurtE
    Replies
    445
    Views
    135,072

    As mentioned + members can edit... So I put this...

    As mentioned + members can edit... So I put this data up on your first post.
  46. Replies
    5
    Views
    166

    As mentioned, if the pins you were using had...

    As mentioned, if the pins you were using had FlexIO pins on them, then could use my FlexIO Serial code to handle it.

    Now you mentioned that you were using all 8 other Uarts...

    The question is...
  47. @ftrias - Thanks again, Just starting to play...

    @ftrias - Thanks again, Just starting to play again. Also trying to get it to work with the VisualMicro.
    I will ask more on their thread or forum... Like how to setup to use with libraries...
  48. Sorry, I have no idea. Might have to...

    Sorry, I have no idea.

    Might have to experiment some. As for as the SPI objects are concerned the only real different is
    internally SPI object uses hardware LPSPI4 and SPI1 uses LPSPI3...
    ...
  49. Replies
    8
    Views
    139

    You did not say which 320x240 display, nor which...

    You did not say which 320x240 display, nor which Teensy... but assuming you have a teensy with enough memory (t3.5/3.6, T4, T4.1)

    As mentioned, for my ili9341_t3n library...
  50. Yes, there are a couple of pins that can be...

    Yes, there are a couple of pins that can be controlled by a couple of different timers, as I show in the excel document:
    20744

    In those couple of cases the flexPWM timer is used. That is we use...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4