cxandy / AZSMZ-Display-Modules

1 stars 0 forks source link

AZSMZ random noise display + SD card not read #1

Open Filcanna opened 5 years ago

Filcanna commented 5 years ago

AZSMZ LCD + repetier 1.0.3 + Arduino Due + SMARTRAMPS -> now card is readable but is displaying only random noise. Card was unreadable till this last fork, now serial monitor says card mounted (Card successfully initialized. SD card inserted ...or removed), but G-code M20 command (SD file list) issues nothing on serial monitor ("Begin file list..End file list" no files listed)

Filcanna commented 5 years ago

Also... modifying like this: // Hardware SPI creates artifacts on display, so we use software SPI // For AZSMZ 12864 LCD

undef U8GLIB_ST7565_NHD_C2832_HW_SPI

define U8GLIB_ST7565_NHD_C2832_SW_SPI

define UI_ROTATE_180

//#define U8GLIB_SH1106_SW_SPI display is right again (Repetier and so on reappears) but file list displays only on first insertion of card, disappearing when you try to select a file with encoder wheel .. File list appears on serial monitor of Arduino, no more visible when no more appearing on AZSMZ display
File buffer problem?

cxandy commented 5 years ago

https://github.com/cxandy/AZSMZ-Display-Modules/blob/master/Repetier/Readme.md

Filcanna commented 5 years ago

I modified Repetier sketch according to your suggestions, but no way. File list appears and then disappears... Could you post a version of Repetier firmware that you know working with AZSMZ LCD so I can try on my side?

cxandy commented 5 years ago

https://reprap.org/wiki/File:SMART_RAMPS_RepetierDue_En.zip https://github.com/cxandy/Repetier-Firmware

Filcanna commented 5 years ago

Firmware in first link appears to work, but display direction is horizontally flipped :( SD card appears to be read correctly .. ST7920 U8Glib code maybe must be edited to drive AZSMZ display