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.03 seconds.

  1. Quick update - Sorry I missed when you posted the...

    Quick update - Sorry I missed when you posted the image.

    Also taking a closer look, I don't think the setAddrWindow and pushColor stuff works in the ST7735_t3 library.

    Plus you run into...
  2. Yes, it might help if you put up the whole sketch...

    Yes, it might help if you put up the whole sketch that we can build. Right now can only guess, what is going on.
  3. Replies
    208
    Views
    4,275

    @mjs513 - no hurry, pushed up some more changes...

    @mjs513 - no hurry, pushed up some more changes to change Rotation(void) to setRotation(uint8_t rotation).
    Put some settings in for all three. Changed example sketch that each time you enter...
  4. Replies
    208
    Views
    4,275

    @mjs513 - Will give it a try. I backed up some...

    @mjs513 - Will give it a try.

    I backed up some and hacked up some and maybe making progress.

    Try looking at the updated Rotate test and code up in my GIFX_ROT branch and see what you think.
  5. Replies
    208
    Views
    4,275

    Yes - that would be one place... But also...

    Yes - that would be one place...

    But also probably in all of the places like:
    void RA8876_t3::drawSquareFill(ru16 x0, ru16 y0, ru16 x1, ru16 y1, ru16 color)

    {
    // Serial.printf("DSF:(%d...
  6. Replies
    208
    Views
    4,275

    Sounds good. My guess is that we need to...

    Sounds good.

    My guess is that we need to step back and rework some of this, probably by looking at RA8875 code.

    That is for example drawing a pixel on RA8875 the code is:

    void...
  7. As always double check your wiring, also make...

    As always double check your wiring, also make sure to choose the right display type in the begin, like one demo I have:
    tft.begin(RA8875_800x480, 16, 12000000);


    Also depending on how your...
  8. Replies
    208
    Views
    4,275

    BUT - Yep you did :D Fixed in demo: byte...

    BUT - Yep you did :D

    Fixed in demo: byte order wrong:

    void Ra8876_Lite::lcdDataWrite16bbp(ru16 data)
    {
    RA8876_BUSY = true;
    startSend();
    SPI.transfer(RA8876_SPI_DATAWRITE);...
  9. Replies
    208
    Views
    4,275

    BUT!!! Color is wrong! AND!!! This is NOT...

    BUT!!!
    Color is wrong!

    AND!!!

    This is NOT changing the orientation and positioning on the page, it is only changing what the image does...
    That is both their 0 degrees and 90 degrees the do:...
  10. Replies
    208
    Views
    4,275

    That one looks like it works... So good place to...

    That one looks like it works... So good place to get ideas.
  11. Replies
    208
    Views
    4,275

    Forgot to mention: I took the modified sketch...

    Forgot to mention: I took the modified sketch you posted/sent and ran it. Modified to turn on backlight

    Then modified to call Rotate(). And what is interesting is:
    20505
    Th BAC image did not...
  12. Replies
    208
    Views
    4,275

    @mjs513 - T_to_B ... Yep I had it that way for a...

    @mjs513 - T_to_B ... Yep I had it that way for a couple of days... Thought I would try it the other way just to see if anything actually changed...

    Active window as I mentioned is 600x1024.
    ...
  13. Try out the version that ships with Teensyduino. ...

    Try out the version that ships with Teensyduino. It is one that a few of us updated to work on Teensy... Or go up to
    https://github.com/mjs513/RA8875/tree/RA8875_t4

    To get our latest.
  14. Replies
    208
    Views
    4,275

    Good Morning, I know I must be missing...

    Good Morning,

    I know I must be missing something obvious in the rotations not working...
    As mentioned in other communications, and above, I hacked in dumping of the registers at the end of the...
  15. If it were me, I would try out the Adafruit...

    If it were me, I would try out the Adafruit library: Adafruit_SSD1306 and see if it works for you...

    In theory you should be able to do something like:



    #include <SPI.h>
    #include <Wire.h>...
  16. Replies
    6
    Views
    136

    You are welcome, @manitou did a much more...

    You are welcome, @manitou did a much more thorough test than I did, I just hooked up a T4 to Logic Analyzer pins.

    And yes I do have a couple of logic analyzers from Saleae: https://www.saleae.com/...
  17. Replies
    208
    Views
    4,275

    I know what you mean about looking at it too...

    I know what you mean about looking at it too long. I keep trying different things and going around in circles. a

    I tried to setup _width = SCREEN_WIDTH... before calling the R8876Initiialize...
  18. Replies
    208
    Views
    4,275

    @mjs513 - I am playing around with random tries. ...

    @mjs513 - I am playing around with random tries. Ran into a few issues.

    Thought I would see how bad it would be to have the rotate function call back to the RA8876Initialize function with a...
  19. Replies
    208
    Views
    4,275

    @mjs513 (and others)... Still playing around...

    @mjs513 (and others)... Still playing around although been doing some other stuff.

    Note: I hacked up your test sketch some more to see if anything jumps out:

    #include <SPI.h>
    #include...
  20. Sorry, I don't do anything with I2S, so I have...

    Sorry, I don't do anything with I2S, so I have no idea what would work or not work with I2S if MCLK is not outputting on that pin.

    But is is sort of last configure wins... What I mean is if you...
  21. Note: There are other 3.5" SPI displays with...

    Note: There are other 3.5" SPI displays with similar resolution, some that I have include:
    https://www.adafruit.com/product/2050 - Uses our HX8357 library.

    Some ILI9488 displays including:...
  22. Replies
    6
    Views
    136

    Quick update: It looks like at least some of your...

    Quick update: It looks like at least some of your stuff is working... At least I can capture SPI output on Logic Analyzer:
    20491
  23. Replies
    6
    Views
    136

    Personally for me, I would prefer to see more...

    Personally for me, I would prefer to see more logical names of registers used then b[n], Yes I could look it up
    Instead of:

    LPSPI4_CR &= ~b[0]; // disable spi1
    LPSPI4_CR = b[1] | b[8] |...
  24. Replies
    208
    Views
    4,275

    @mjs513 (and all) - I had a detour and re-watched...

    @mjs513 (and all) - I had a detour and re-watched the second half of a movie I fell asleep to last night... :D

    Right now I am trying a bunch of random stuff to see what changes...

    Maybe I...
  25. Replies
    208
    Views
    4,275

    Thanks @morganS @mjs513, still not much...

    Thanks @morganS

    @mjs513, still not much progress since then, I updated the test sketch to output more stuff, both in rotation 0 and logical rotation 1...


    #include <SPI.h>
    #include...
  26. Replies
    208
    Views
    4,275

    Showing some differences now, I hacked up the...

    Showing some differences now, I hacked up the code some more...

    void RA8876_t3::Rotate()
    {

    VSCAN_T_to_B();
    MemWrite_Down_Top_Left_Right();

    displayWindowStartXY(0,0);...
  27. Replies
    208
    Views
    4,275

    Not a problem... I am also just taking a break...

    Not a problem... I am also just taking a break from working out on the yard... So far three buckets of mulch spread. Another few to go.

    I did some similar stuff....

    void RA8876_t3::Rotate()...
  28. Never used it before, but I believe it stands for...

    Never used it before, but I believe it stands for RAW
    https://en.cppreference.com/w/cpp/language/string_literal
  29. Replies
    208
    Views
    4,275

    Good Morning! Tried hacking your one function...

    Good Morning!

    Tried hacking your one function to see if it made a difference:

    void RA8876_t3::MemWrite_Down_Top_Left_Right(void)
    {
    /* Host Write Memory Direction (Only for Graphic Mode)
    11b:...
  30. Yes as Tim mentioned, if it were me, I would...

    Yes as Tim mentioned, if it were me, I would build same sketch using Arduino IDE and fully compare the compiler options. Also see what versions of the GCC compilers are being used.
  31. Replies
    208
    Views
    4,275

    @mjs513 - Just did PR to you for adding backlight...

    @mjs513 - Just did PR to you for adding backlight support. I no longer need the jumper to get the display to work...

    But had to change jumpers on the board.
  32. Hi and welcome. Might help to know which...

    Hi and welcome.

    Might help to know which display you are trying. It worked with which library on Mega? Test sketch? Is it setup for +5v or 3.3v?

    it also might help to see picture of your...
  33. Thread: Teensy 4.0 DOA?

    by KurtE
    Replies
    16
    Views
    194

    Check/try different cable

    Check/try different cable
  34. Replies
    208
    Views
    4,275

    @mjs513 - I think we can speed up a few of the...

    @mjs513 - I think we can speed up a few of the SPI things a bit more, without needing to go down to SPI register level. Sort of like how I packed the two words into 4 bytes and did one transfer.
    ...
  35. Sorry I am not sure... Do you get the Serial...

    Sorry I am not sure...

    Do you get the Serial prints to your debug monitor showing the servo should have it's position set? Do they look reasonable?

    I am guessing you have Audio board...
  36. Replies
    21
    Views
    301

    For what it is worth, I have two: an older Weller...

    For what it is worth, I have two: an older Weller WSL and a Hakko. The Weller I keep a fine tip on it and the Hakko and heaver duty one. I use the WSL more often, but if what I am soldering is a...
  37. Replies
    208
    Views
    4,275

    I may quit worrying about trying to speed up some...

    I may quit worrying about trying to speed up some of the SPI communications. I sort of now remember doing some of this exercise with RA8875 and punted...

    That is If I capture with Logic Analyzer...
  38. Replies
    208
    Views
    4,275

    Quick update: I believe that the RA8876(and maybe...

    Quick update: I believe that the RA8876(and maybe 5) are much more picky on SPI state. I tried hacking larger area of code to queue up the queue of data and the data did not show up correctly. (like...
  39. Replies
    208
    Views
    4,275

    I keep meaning to watch... Have been busy burying...

    I keep meaning to watch... Have been busy burying the potato plants...
    What I mean that is needed is:



    void RA8876_t3::fillRect(int16_t x, int16_t y, int16_t w, int16_t h,uint16_t color) {...
  40. Replies
    208
    Views
    4,275

    @mjs513 - Doing a first pass at SPI...

    @mjs513 - Doing a first pass at SPI enhancments/speedups...

    Things like: hopefully now you can specify pins for SPI1 or SPI2 and it will work.

    Also failing when you ask if the CS pins is a...
  41. Replies
    208
    Views
    4,275

    Glad you have centering mostly working :D ...

    Glad you have centering mostly working :D

    Note from the stuff before to get the font working. I did not put in the code to offset the rectangle by the current offset. Needless to say most all...
  42. Replies
    208
    Views
    4,275

    Morning: If you wish to try out the font test...

    Morning:

    If you wish to try out the font test 4... I have a version up in a soon to be deleted branch Will migrate into the main WIP branch:

    #include <Adafruit_GFX.h>

    #include <SPI.h>...
  43. Replies
    208
    Views
    4,275

    So far my quick 5 minute look hopefully makes it...

    So far my quick 5 minute look hopefully makes it easier to find things. So I would suggest going for it!

    At some point will be interesting to see how much we can speed things up. Looks like...
  44. Replies
    208
    Views
    4,275

    Next Hint: Uncommented a lot of debug print......

    Next Hint: Uncommented a lot of debug print... Here is details for the 'd'

    drawFontChar(d) 100 (36, 0) 10 ffff 1 1
    index = 941
    size = 9,15
    line space = 21
    cap height = 14
    offset...
  45. Replies
    208
    Views
    4,275

    @mjs513 (and others) - I pushed up PR for the...

    @mjs513 (and others) - I pushed up PR for the hacked up fonts library... Not sure how good it is...

    Right now looking at the Test4... (hacked up) first issue was on 2nd page, so first page...
  46. Replies
    208
    Views
    4,275

    Note with the above, First page displays good. ...

    Note with the above, First page displays good.

    2nd page starts to royally screw up on the CRYSTAL24 font.
    Next page screwy...
    Then nothing works...

    So have some debug work to do
  47. Replies
    208
    Views
    4,275

    Thanks, I stated to try to convert over the...

    Thanks, I stated to try to convert over the RA8875 font test 4... And there are still several issues (opportunities)

    Colors - Should we leave it with RED, WHITE, BLACK are specific to this...
  48. Replies
    208
    Views
    4,275

    I just pushed up changes, that fixes both ILI and...

    I just pushed up changes, that fixes both ILI and GFX fonts with text colors and setup opaque versus transparent.

    You might try looking at my branch and see if it works now for you.

    Warning, I...
  49. Replies
    10
    Views
    138

    I am pretty sure that is the plan, but with...

    I am pretty sure that is the plan, but with Covid19 constraints it is just Paul and Robin, and they are pretty busy. Hopefully in the not too distant future, they will be able to catch up.
  50. Replies
    208
    Views
    4,275

    Quick update - I now have the opaque versus...

    Quick update - I now have the opaque versus transparent in both I think...

    But a couple of issues, in that we have two different models of what setTextSize and setTextColor do...

    Was able to...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4