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. Yep - That is sort of what I figured as well......

    Yep - That is sort of what I figured as well... If you wish to play, if you enter anything in the debug monitor it will toggle on outputting of the raw and converted touchpoint values to look at.
  2. Hi, Mike, With things like this I always...

    Hi, Mike,

    With things like this I always wonder is, it the code or is it just how it makes things line up... As you are getting a lot of screwy behavior.

    However with this code I am not sure...
  3. @mjs513 @defragster and @anyone too stubborn to...

    @mjs513 @defragster and @anyone too stubborn to give up on these displays :D

    I also just pushed up an update to the Read Me file for the project. If you find you need a nap and having a hard...
  4. Thanks, As I put in the checkin, that the...

    Thanks,

    As I put in the checkin, that the information/changes came from the three of us...

    As you mentioned, I am thinking we are pretty well done with it!

    :o - But than again, didn't I...
  5. I am also mainly a Software guy as well. I am a...

    I am also mainly a Software guy as well. I am a retired Software Engineer who did take several EE classes when I was working on my BS and MS in Computer Science, but that was over a few decades...
  6. Again I am not an electronics expert or the like,...

    Again I am not an electronics expert or the like, but I believe a lot (most? all) vendors will now allow you to do some internal cutouts on boards.

    For example, I did this for a castellated...
  7. Good Morning @mjs513 and @defragster I hope...

    Good Morning @mjs513 and @defragster

    I hope you don't mind and think I jumped the gun,

    But went ahead and updated the library with this stuff :D Just did a commit.

    Note, I made a few minor...
  8. Note: The values are now consistent from that...

    Note: The values are now consistent from that touch request... What I noticed is I looked at the XPT2046 library and it was doing SPI at 2mhz, I was trying up to 30mhz... I then looked again at the...
  9. I am wondering if we can detect the differences...

    I am wondering if we can detect the differences between the boards and configure what MADCTL list to use.

    I am not sure if this code is perfect or not, but:

    #include <SPI.h>

    #define LCD_CS...
  10. @... Sounds good, I downloaded and put into my...

    @...
    Sounds good, I downloaded and put into my library folder and ran touch paint and it appears to run fine. Looks like now it is using RGB colors instead of BGR, which is good.

    DOes your...
  11. @mjs513 - will be interesting when I get my 2nd...

    @mjs513 - will be interesting when I get my 2nd one... Supposed to be here by Wed (next week)...

    Looking at the XPD2046 spec: https://www.buydisplay.com/download/ic/XPT2046.pdf

    it looks like...
  12. Replies
    3,770
    Views
    390,032

    In this case, I added the code block for...

    In this case, I added the code block for IMXRT1052/1062 to the current adafruit code base, tried it out on my board with one Neopixel and still works...

    Maybe others might want to try as well: ...
  13. @mjs513 - Will try it out soon. The mirror......

    @mjs513 - Will try it out soon.

    The mirror... issue sounds like the MADCTL is not right for that board.

    Wonder with my later version of test app, the outputs of the initial SPI transfers...
    ...
  14. Replies
    3,770
    Views
    390,032

    @PaulStoffregen and @all... Yesterday I...

    @PaulStoffregen and @all...

    Yesterday I started playing with partially assembled breakout board :D

    The board includes a Neopixel - which I thought I would test out.

    Some things are my own...
  15. @mjs513 and @defragster - Good morning, I get...

    @mjs513 and @defragster - Good morning,

    I get that variable tracking size message every build as well, when building that app. I thought about ways to maybe resolve it. And if this was...
  16. Replies
    4
    Views
    58

    Hi @WMXZ - As you probably know I edit several...

    Hi @WMXZ - As you probably know I edit several libraries, all of the time, and very seldom, I have run into issues where dependency checking does not catch if I change a .h file, those .c or .cpp...
  17. Hi @mjs513, @defragster - And while doing so,...

    Hi @mjs513, @defragster -

    And while doing so, wondered if the fix is something simple like: maybe we should not be using SPI_MODE0?

    That is remember the data cleaned up when I changed the SPI...
  18. Hi @mjs513 - The raw data of the last posting,...

    Hi @mjs513 - The raw data of the last posting, came from the RPI Logic Analyzer save file that I sent you awhile ago in a zip file... It is all in the very beginning of the data.
    17026

    And...
  19. Also another possibly interesting thing involved...

    Also another possibly interesting thing involved with this startup sequence is there is the SPI stuff talking to what we think is only the touch display. There is a conversation that happens before...
  20. Replies
    6
    Views
    60

    For what it is worth, with Teensy 4 code base, I...

    For what it is worth, with Teensy 4 code base, I added a couple of non-standard methods, so you could do something like:


    uint8_t serial2_rx_extra_buffer[2048];

    void setup() {
    ...
    ...
  21. Replies
    4
    Views
    58

    I guess one real question is, why do you need it...

    I guess one real question is, why do you need it to fully rebuild?

    That is if you change serial2.c Example change either: SERIAL2_TX_BUFFER_SIZE or SERIAL2_RX_BUFFER_SIZE to change the size of...
  22. Sounds like it hung ;) Did you try booting it...

    Sounds like it hung ;) Did you try booting it again, to see if maybe it is happy a second time...

    On mine, it shows the startup screen like we had, then sort of goes blank and shows a couple of...
  23. Replies
    14
    Views
    119

    I could be wrong but I think usb 2 has like a...

    I could be wrong but I think usb 2 has like a millisecond frame, so my guess is you might not be able to send more than 1000 packets per second.

    So question is can you package up more than Set of...
  24. It might have been busy with expanding file...

    It might have been busy with expanding file system?
  25. Replies
    3
    Views
    135

    There is for at least some of them. I used to...

    There is for at least some of them. I used to use a hardware debugger with some of the older AVR boards, using an ICE (search for AVR JTAG ICE)

    Which connects up to the programmer connector of...
  26. I believe they are the images up at:...

    I believe they are the images up at: http://kedei.net/raspberry/raspberry.html I did the IMG of the 6.3 section
  27. @mjs513 :p :D I did not look either, but as...

    @mjs513 :p :D

    I did not look either, but as soon as I saw the first few things output and CS pin not changing state, knew something was wrong!

    So colors are screwed up? Aarg!

    Will be...
  28. @mjs513 - :o - One little typo... The function...

    @mjs513 - :o - One little typo... The function spi_transmit32, I think line 9 was setting CS to LOW, should be HIGH...

    After that change my screen now shows 4 Raspberries :D
  29. @mjs513 - Yep I have a version that compiles,...

    @mjs513 - Yep

    I have a version that compiles, but does not work correctly. Also not 100% sure I did not screw up the sequences.

    17021

    Now back to other distractions ;)
  30. All of this is just a hobby for me, including...

    All of this is just a hobby for me, including making my own boards. The one above was one for a Well monitor system, which I never fully completed, and probably should... I usually get interested...
  31. Good luck with the event, I still suspect...

    Good luck with the event,

    I still suspect that something is not hook up right. I have tested it before using the adafruit RFM95: https://www.adafruit.com/product/3072
    And I have done my own...
  32. @mjs513 - Yep equally bad ;) Yep I was/am...

    @mjs513 - Yep equally bad ;)

    Yep I was/am thinking about something similar.
    Also yours has a bug: Like look at line 13790:

    6.80517338 9812 0x00 0x15 0x30 0x22 lcd_dat(0x30);

    Should be:...
  33. Next thing I would do is to go into Radiohead...

    Next thing I would do is to go into Radiohead sources and edit rh_rfm95.cpp, look for Init function and uncomment the serial outputs, so can localize what is failing
  34. Replies
    29
    Views
    534

    That function is not currently in released...

    That function is not currently in released library, it is in my fork branch https://github.com/KurtE/ST7735_t3/tree/writeRect_reset_delay

    Which is waiting on a pull request to main...
  35. Hi Mike, I took another look at the data. ...

    Hi Mike,

    I took another look at the data. First thing is I wondered if maybe looking at the wrong edge of the clock in the capture, so I changed it. (Go to SPI Analyzer click on the thing choose...
  36. If it were me, as an experiment, I would move the...

    If it were me, as an experiment, I would move the current version of the Radiohead library to somewhere else and download the one that I linked to above and see if that works for you.

    I have used...
  37. @mjs513 - Yep - I totally hear you about not...

    @mjs513 -

    Yep - I totally hear you about not matching any driver we know, but who knows. At some point I will probably try to message the CSV file into stuff that looks more like
    CMD: xxx
    DATA...
  38. Replies
    3,770
    Views
    390,032

    @mjs513 - Maybe we should try selecting a lower...

    @mjs513 - Maybe we should try selecting a lower SPI speed and see if that makes a difference there?
  39. Thanks Mike, I think I updated it the way you...

    Thanks Mike,

    I think I updated it the way you mentioned, plus update the functional colors to numbers...
    Although I must mention never actually tried them. ...
  40. When you say you can not init. Are you...

    When you say you can not init.

    Are you saying that it won't build?

    Or are you dying in: if (DEBUG) Serial.println("LoRa radio init failed");
    Or did something else fail?

    I assume you...
  41. Replies
    29
    Views
    534

    Sorry, I am not sure about all of the things that...

    Sorry, I am not sure about all of the things that are in or not in the GFX library. But I do see functions in adafruit GFX library like:
    drawRGBBitmap(int16_t x, int16_t y, const uint16_t...
  42. Hi @mjs513 and @defragster and ... I did a...

    Hi @mjs513 and @defragster and ...

    I did a hack for the define of colors, which you might try out and see if it works for you?

    // Color definitions
    // Warning Some of these display appear to...
  43. Replies
    3,770
    Views
    390,032

    Think it needs my fork branch, not at computer,...

    Think it needs my fork branch, not at computer, but probably https://github.com/KurtE/ST7735_t3/tree/writeRect_reset_delay

    Has pr...
  44. I was thinking we could simply define the colors...

    I was thinking we could simply define the colors to work on both sets... I thought of using the CL defines like:
    #define CL(_r,_g,_b) ((((_b)&0xF8)<<8)|(((_g)&0xFC)<<3)|((_r)>>3))
    so for Red we...
  45. @mjs513 - Did you say that changing the MADCTL...

    @mjs513 - Did you say that changing the MADCTL did work to get the right colors on your display?

    If so which value worked? So I might try that change on my display and hopefully it still works...
  46. @mjs513 @defragster - Interesting. I am...

    @mjs513 @defragster - Interesting. I am wondering if maybe the MADCTL values are incorrect for your display. This is the thing that controls things like change directions of bits and the like.
    ...
  47. This is sort of strange... Note: in...

    This is sort of strange...

    Note: in KeDeiRPI..h file
    I have colors defined two different ways.

    // Color definitions
    #ifdef RGB_COLORS
    #define KEDEIRPI35_BLACK 0x0000 /* 0, ...
  48. Replies
    302
    Views
    7,137

    @wwatson - Today I received the cheap...

    @wwatson - Today I received the cheap drive/adapter and plugged it into my PC and had to initialize it. So I choose MBR
    I then formatted all of it as one exfat partition...

    I then ran the...
  49. Looks sort of screwy! Actually you can use...

    Looks sort of screwy! Actually you can use either constructor, it should end up through the same code...

    You might post a picture of the back of your display, is it labeled the same as the one...
  50. @defragster - Might help to see your setup (post,...

    @defragster - Might help to see your setup (post, or email). Are you using breakout board? If so how to get +5v to it... I was using my own breakout.
    Also does yours say anything like Version...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4