Hi Pete
Been installing an lcd on mine this weekend and got it working.
Here is my config for the lcd# Panel
panel.enable true # set to true to enable the panel code
#panel.lcd smoothiepanel # set type of panel
#panel.encoder_a_pin 3.25!^ # encoder pin
#panel.encoder_b_pin 3.26!^ # encoder pin
panel.lcd reprap_discount_glcd #
panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4
panel.encoder_a_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 3
panel.encoder_b_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 5
panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2
panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1
panel.back_button_pin 2.11!^ # back button ; GLCD EXP2 Pin 8
panel.menu_offset 0 # some panels will need 1 here
panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
panel.hotend_temperature 210 # temp to set hotend when preheat is selected
panel.bed_temperature 65 # temp to set bed when preheat is selected
- setup for external sd card on the GLCD which uses the onboard sdcard SPI port
panel.external_sd true # set to true if there is an extrernal sdcard on the panel
panel.external_sd.spi_channel 1 # set spi channel the sdcard is on
panel.external_sd.spi_cs_pin 0.28 # set spi chip select for the sdcard (or any spare pin)
panel.external_sd.sdcd_pin 0.27!^ # sd detect signal (set to nc if no sdcard detect)
- Example of a custom menu entry, which will show up in the Custom entry.
- NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
custom_menu.power_on.enable true #
custom_menu.power_on.name Power_on #
custom_menu.power_on.command M80 #
custom_menu.power_off.enable true #
custom_menu.power_off.name Power_off #
custom_menu.power_off.command M81 #
return_error_on_unhandled_gcode false #
the only problem I have now is the scrolling with the control wheel.
if you turn it at any speed other than very very small steps then it misses options and goes to far up or down.
It seems the switch has small steps when it turns, and the lines on the menu are in the middle of these steps so you have to balance the turning into the middle of the step of the switch, if that makes sense to anyone.
btw pete
The instructions say you cant boot with the external sd plugged in, but I have no problem with this.
The SB sd is listed as SD and the LCD one is shown as EXT
Hope this config helps you or anyone else setting an lcd up
war