MKS-TFT
MKS-TFT copied to clipboard
G-coded
Are all commands and feedback still G, M, and T codes?
Yep, but not Marlin-compatible at the moment. See here: https://duet3d.com/wiki/G-code#M408:_Report_JSON-style_response
To poll status lcd panel sends M408 to the printer and waits for JSON response. "Connecting" status means there is no JSON read from the board. I heard someone implements M408 for Marlin so I'll wait for a while with other polling commands...
I have been working alot with Marlin lcd stuff. I put the UBL menu system in place. I can look into the M408.
I was currently looking for a way for the TFT to see the current screen. Would sending a serial echo of the current screen work (obviously, only if a MKSTFT
flag was enabled)?
I see it here: https://github.com/MarlinFirmware/Marlin/pull/6970
This needs to be tested, potentially this makes Marlin compatible with PanelDue and this firmware too.
I can create a branch with the M408 additions in it to test with. Or have you already done that?
I am also interested in modifying your work to have the option to mimic the current Marlin DOGM display screens (close, anyway).
This project is low priority at the moment due to high load on other (non-public and well paid) projects. My plans for this project include implementing printing from on-screen media (USB sticks and sd card) and make the firmware loadable using Makerbase bootloader. Any other features will be implemented after that (not real soon).
So any help with testing new functionality and implementing new stuff is highly appreciated. If you are willing to submit code which doesn't break any existing functionality and does something new then you're welcome.
I will do what I can. I have an MKS TF32 working on Ramps 1.4 along side a discount full graphic display.
I am new to smoothie's way of doing things. But, I have forked your repo and will start tinkering and testing.
It may be a long road for me, but a road I am willing to take. ;)
Sounds great!
Roxy and I did alot of work on a 'radar' map for seeing UBL mesh points on the lcds. I was hoping to get that on the tft also.
I don't know if I am the one to get storage printing and bootloader stuff working. I'm not THAT good. Lol
But, I am sure (given enough time) I could learn.
Storage printing is already implemented in other (not PanelDue fork and it's fully Marlin-compatible) MKS-TFT32 firmware (see here: https://www.youtube.com/watch?v=LfauV0CJYfo). Now I need to merge these two very different pieces of code. It may take some time...