-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
Support for VIKI2 with MKS 1.3 / 1.4 #4277
Support for VIKI2 with MKS 1.3 / 1.4 #4277
Conversation
You could test the software, for the BTN_ENC, with a simple switch - or even simple with a jumper wire. |
@Blue-Marlin There's a little button on the left side of the Viki 2 which I assigned above to the |
While you have a VIKI2 at hand. Would you please test if this makes a difference in speed - you feel. @@ -150,11 +150,12 @@
#elif ENABLED(U8GLIB_LM6059_AF)
// Based on the Adafruit ST7565 (http://www.adafruit.com/products/250)
U8GLIB_LM6059 u8g(DOGLCD_CS, DOGLCD_A0);
#elif ENABLED(MAKRPANEL) || ENABLED(VIKI2) || ENABLED(miniVIKI)
// The MaKrPanel, Mini Viki, and Viki 2.0, ST7565 controller as well
- U8GLIB_NHD_C12864 u8g(DOGLCD_CS, DOGLCD_A0);
+ //U8GLIB_NHD_C12864 u8g(DOGLCD_CS, DOGLCD_A0);
+ U8GLIB_NHD_C12864_2X u8g(DOGLCD_CS, DOGLCD_A0);
#elif ENABLED(U8GLIB_SSD1306)
// Generic support for SSD1306 OLED I2C LCDs
U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST);
#elif ENABLED(U8GLIB_SH1106)
// Generic support for SH1106 OLED I2C LCDs You know - the ST7920 draw the displays in 2 stripes. Todays driver for the VIKI2 does the same in 8 stripes. The 2X driver will do it in 4 stripes. That means the display content is drawn considerably less often. |
@AnHardt I'll test it tomorrow! |
The Viki worked fine with the 2X option. I didn't have a chance to compare performance, but it "felt" subjectively a little more responsive. I will try to do more testing next time I'm with the machine — looks like probably Monday. |
Well, when
|
And result is same in case of |
There's no "official" layout for connecting a Viki 2 to an MKS Gen 1.3 and up. But I had to do this today, so here's how I chose to wire them together. I wired all the leads in the 4-wire group to EXP1 and most of the leads in the 12-wire group to EXP2.
So far I can't get the
BTN_ENC
pin to register in the firmware, but this might just be a hardware problem with this display. (I tried assigningKILL_PIN
to the pin where I connected the purple ENCBTN lead but it didn't register as a kill pin either. So I think the purple lead is just dead on this unit.)