-
Hello, everyone. Compilling in Arduino IDE 1.8.16 on Windows 10 with latest versions boards and libraries. Here is a demo code:
If I comment gfx->flush(); in main loop, SD and touch functions works fine and gives that serial output:
Else if uncomment gfx->flush(); gives me working display without SD and touch.
As I see SD functions works once before gfx->flush(); occured, after that Serial gives sd errors and not valid touch pressings. What is a conflict in SPI? Also there is a background color issue - green instead black. Including board's scheme |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I found that I have the same problem. We have the same board. However, when I use this library to display mjpeg, I find that its color is also wrong (the screen is green). I can only use it to display the first frame of the image. I think it should be the gfx-flush () in the code I wrote; the reason why this function is placed in the position. If you have a solution, I hope you Can you tell me? |
Beta Was this translation helpful? Give feedback.
-
I solve problem by declaring custom SPI after few attemps.
Now it works fine together and I build some GPS navigator with OSM tiles from SD cache or Wifi. But have some problem with img buffers for tiles because now I am using only file buffers which every time decoded by PNG library for drawing |
Beta Was this translation helpful? Give feedback.
I solve problem by declaring custom SPI after few attemps.
Now it works fine together and I build some GPS navigator with OSM tiles from SD cache or Wifi. But have some problem with img buffers for tiles because now I am using only file buffers which every time decoded by PNG library for drawing
and I t…