-
Hi Desuuuu, I managed to fully port the firmware over to the T5L Screen that's on the Sermoon D1, Ender 6 and Ender 7, however I'm running into an oddity I'm hoping you or someone else might have a solution to. All the text is appearing off-right and semi-centered. See attached photos. Any ideas? Best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Alignment is controlled by the host by padding the data with spaces to achieve the desired alignment. The controls need to be configured to have fixed-width characters and properly sized/placed to achieve the desired result. Writing full-length strings can be useful to tweak this. Let's say you have a 6-char wide control, testing with Placing the controls was honestly a tedious process for me. It mostly involved trial and error to achieve proper sizing/placement. There's a debug T5UID1 implementation in the firmware which can help a bit with the process. You can also use some sort of serial adapter and the software from DGUS that lets you send commands, but the software isn't super user-friendly. It is also technically possible to alter display controls directly through serial using what they call stack pointers (SPs), but it's a more complicated process. |
Beta Was this translation helpful? Give feedback.
-
Hey @OMGrant ! Do you have your code hosted or process anywhere for the T5L? I'll be swapping over from my Marlin build over to this soon: This screen is a Cheers! |
Beta Was this translation helpful? Give feedback.
Alignment is controlled by the host by padding the data with spaces to achieve the desired alignment.
The controls need to be configured to have fixed-width characters and properly sized/placed to achieve the desired result.
Writing full-length strings can be useful to tweak this. Let's say you have a 6-char wide control, testing with
AAAAAA
,iiiiii
,__iiii
andiiii__
(_ being spaces) should give you a good idea if the settings are correct.Placing the controls was honestly a tedious process for me. It mostly involved trial and error to achieve proper sizing/placement.
There's a debug T5UID1 implementation in the firmware which can help a bit with the process. You can also use some sort o…