New feature, discussions. :-) #18
Replies: 13 comments 50 replies
-
Hi Rudolph, |
Beta Was this translation helpful? Give feedback.
-
code - support.zip |
Beta Was this translation helpful? Give feedback.
-
Hmm, you opened with "I am using your library in a project" and this is not my library. I can't tell if your UI code is the issue or the library code itself. Can you at least separate the UI code from the library code? |
Beta Was this translation helpful? Give feedback.
-
Ok, I modified it further to actually display your UI. This is adapted to the latest version of my llibrary, for example changing HMI_Riverdi_cmd_execute() to EVE_execute_cmd(). I left initStaticBackground() mostly unchanged, only removed the return value as I am using num_dl_static as global variable, this is not supposed to change and also could be converted to a constant. I renamed HMI_Riverdi_TFT_init() to TFT_init() and removed the return value, just to match the original TFT_init() in tft.c. I modified my existing TFT_display() function that I call every 20ms in my main.c now to call init_display_without_burst() and provide the counter for it. In init_display_without_burst() I removed the call to initStaticBackground(). Then I ran into the issue that the c-library provided with Microchip Studio for the ATSAME51 does not provide a directly useable snprintf(). So far this just works without a glitch although I am calling init_display_without_burst() much faster and using a much higher SPI clock. Hmm, I need to switch to a different controller, I can not connect a logic-analyzer to the ATSAME51 board I am currently using. And in reference of "init_display_without_burst". |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Did you try to add also the bitmaps ? I commented the part where I am loading also a few bitmaps. |
Beta Was this translation helpful? Give feedback.
-
This is the project I am using, just as a reference: I builds for a whole bunch of different Arduinos. |
Beta Was this translation helpful? Give feedback.
-
Short update. |
Beta Was this translation helpful? Give feedback.
-
Somehow, after I rebuild and flash the device, it happens that I get some content from the previous display. How can I ensure that the all memory of the old display content is cleared ? Because it seems that the display memory has old content, or I don't get it how is possible to see old content, like old number instead the current one |
Beta Was this translation helpful? Give feedback.
-
Today's result is not good. Everything I tried didn't work. I'm trying your suggestions and it doesn't seem to want to work. Somehow my version works fine for a while then fails. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi again, short_session_plus_session_with_black_screen_no_content_error.zip |
Beta Was this translation helpful? Give feedback.
-
Hi Rudolph, |
Beta Was this translation helpful? Give feedback.
-
Something is not quite working as expected or the somewhat deliberate lack of documentation around here left you with issues you feel you can not solve on your own?
Just ask. :-)
Beta Was this translation helpful? Give feedback.
All reactions