-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MKS LCD12864 A/B Controller Support #18120
Add MKS LCD12864 A/B Controller Support #18120
Conversation
f53fc3a
to
1386f04
Compare
f2ed9ad
to
4cfffa3
Compare
Apart from skipping all the initialization stuff, what other firmware differences between the |
None that I'm aware of & testing one with I just wasn't sure how far I needed to take it or if I could do something like (which would have greatly simplified this PR): #ifdef MKS_LCD12864
#define MKS_MINI_12864
#endif |
65741aa
to
c739ddc
Compare
Typically a sanity-check would be added to alert users that they need to change the LCD type. However, that is tricky here. Three boards insisted that whenever So, should those pins files throw an alert for this LCD type and tell users to change it…? |
I’ll have to check and get back to you on that. |
Normally, MKS LCD12864A/B screen type can be directly defined as MKS_MINI_12864 for use, but the driver chip is still different.
|
c739ddc
to
3c89b26
Compare
If users have one of the boards that previously converted Current example configs that use
|
Did we do that when when separated |
Since the |
None of those example configs/printers came with an MKS LCD12864 and use a real |
Tevo Tarantula Pro with MKS_MINI_12864 have build error: |
That is usually a path-length issue when using the Arduino IDE on Windows. This is a frequent topic that comes up in the Marlin Discord, and is extremely unlikely to be directly related to this change. For best results getting help with configuration and troubleshooting, please use the following resources:
|
@anomalchik: Your file path is likely too long. Try moving Marlin to the root of your hard drive. I just built the latest Linking .pio/build/mega2560/firmware.elf
Building .pio/build/mega2560/firmware.hex
Checking size .pio/build/mega2560/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [====== ] 58.7% (used 4807 bytes from 8192 bytes)
Flash: [===== ] 51.4% (used 130612 bytes from 253952 bytes)
============================ [SUCCESS] Took 35.51 seconds ============================
Environment Status Duration
------------------------ -------- ------------
mega2560 SUCCESS 00:00:35.512
mega1280 IGNORED
MightyBoard1280 IGNORED
MightyBoard2560 IGNORED
rambo IGNORED
[snip] |
I have marlin-bugfix-2.0.x in D:/ drive root Maybe it's time to get away from Arduino IDE |
Description
@makerbase-mks introduced the LCD12864 A/B, an updated
REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
-sized LCD controller, with aMKS_MINI_12864
pinout & digitally controllable contrast. More info can be found in this AliExpress listing.Since these share the same pinout as the
MKS_MINI_12864
, I updated the various pins files so they can be used on those boards as well.Benefits
Adds native MKS LCD12864 A/B support so users don't have to to define
MKS_MINI_12864
, which I found unintuitive.Related Issues
Initial contrast support for these LCD controllers were added in #16163.