Closed bazarovdev closed 1 year ago
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
https://github.com/MarlinFirmware/Marlin/blob/2d162e0639f74b3a4e66e8c80081622e3215fe9d/Marlin/src/lcd/HD44780/marlinui_HD44780.h defines:
and then it is called:
but actual prototype of
LiquidCrystal_AIP31068_SPI
is:so it means actual pin functions are:
Bug Timeline
old
Expected behavior
the pins should be renamed to match actual functions
Actual behavior
pin named
YHCB2004_CLK
serves asCS
(chip select orss_pin
) and on the other end true clock pinsclk_pin
named asYHCB2004_MOSI
in config.Steps to Reproduce
No response
Version of Marlin Firmware
2.1.2
Printer model
No response
Electronics
No response
Add-ons
No response
Bed Leveling
None
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
https://github.com/MarlinFirmware/Marlin/blob/2d162e0639f74b3a4e66e8c80081622e3215fe9d/Marlin/src/pins/mega/pins_GT2560_V3.h
And all the route from config to display for Geeetech A10M with board v4.1b:
define in Marlin | Arduino # | AVR port | schematics NET| H2 pin | Reality
--|--|--|--|--|-- YHCB2004_CLK | 5 | E3 | LCM_D6 | 4 | CS YHCB2004_MOSI | 21 | D0 | LCM_D5 | 5 | CLK YHCB2004_MISO | 36 | C1 | LCM_D7 | 3 | MOSI BTN_EN1 | 16 | H1 | LCM_D4 | 7 | BTN_EN1 BTN_EN2 | 17 | H0 | LCM_EN | 8 | BTN_EN2 BTN_ENC | 19 | D2 | EC_PRESS | 9 | BTN_ENC ||||RESET|11 ||||BEEP|12 ||||V5|1 ||||GND|2,6,10