makerbase-mks / MKS-TFT70-Firmware

This MKS TFT70 firmware source code and build by IAR platform ...
GNU General Public License v3.0
8 stars 8 forks source link

MKS_Pic and Font files? #4

Open holyflam3 opened 3 years ago

holyflam3 commented 3 years ago

Is there a link to the mks_pic and mks_font folders for this firmware? I want to make some custom modifications to this code (change the layout of a few items). But when I try to use the generated .bin file from this code with the example files from here, I get a garbled display, and renders for the TFT35 as far as I can tell.

Pointers to the correct repository or files would be much appreciated. Thanks!

holyflam3 commented 3 years ago

@makerbase-mks Any help please?

dronecz commented 3 years ago

@holyflam3 What programming environment are you using? IAR?

holyflam3 commented 3 years ago

@dronecz Yes, I'm using IAR Embedded Workbench

Edit: I'm sure this is not the right way to do it, but in the draw_ready_print.cpp file, I made sure the contents in the if defined(mkstft70) and if defined(mkstft35) are the same. This led to the display running fine. But as I said, this is not the right way to do things, and the root cause still remains unknown.

dronecz commented 3 years ago

I had similar issue and I solved it with TFT70 (I think) define in some part of the project. I do not have it here on my laptop, but I can look at home.

holyflam3 commented 3 years ago

@dronecz Cool, if you could let me know how exactly you did it, it'll be great help. I guess we both did the same thing to fix it, but just as a curiosity, I'm interested in knowing your fix.

dronecz commented 3 years ago

MKS_TFT70