Solved FYSETC 12864
-
Hi all,
So after a lot of struggle, I finally got the screen up and running (my other printer is running RRF; and not duet; so I used the script to get the screen up and running)....
I'm having difficulty controlling/using the encoder wheel. I am not able to completely switch between all menu items - it is a bit wonky - don't know how to describe it.
My script contains the following:
; ST7567 Init for FYSETC Mini12864 Panel V2.1
; Turn off backlight
m150 X2 R0 U0 B0 S3 F0
; Configure reset pin
M950 P2 C"PA.14"
; hardware reset of LCD
M42 P1 S0
G4 P500
M42 P1 S1
; Turn display on
M918 P2 C40 F2000000 E2
; Fade in backlight
while iterations < 256
m150 X2 R255 U255 B255 P{iterations} S1 F0
G4 P20
; flash Button 3 times
while iterations < 3
m150 X2 R255 U255 B255 P255 S1 F1
m150 X2 R0 U255 B0 P255 S2 F0
G4 P250
m150 X2 R255 U255 B255 P255 S1 F1
m150 X2 R0 U255 B0 P0 S2 F0
G4 P250
; Display "ready" button state
m150 X2 R255 U255 B255 P255 S1 F1
m150 X2 R255 U0 B0 P255 S2 F0I also don't know what to set in M950 P2 C"PA.14" --- as the duet uses a different naming convention. That refers to the 'configure reset pin' for the screen --- if I press the reset button, nothing happens.
Any help/guidance is appreciated!
Rgds
Tinus -
@reefwarrior the reset pin is different to the reset button. The reset pin basically resets the screen into a ready state whereas the reset button resets the board. Depends how you've wired the reset pin up I suppose.
Which board are you using this with? -
@jay_s_uk Hi! Using it with a duet2. What can be the issue with the encoder not being able to select an item?
-
@reefwarrior if you can't select anything, then you have an issue with your wiring to the Btn_Enc.
And then for PA.14 will be where ever you've wired the LCD_RST pin to -
EXP1.6 is wired to LCD.6
EXP2.6 is wired to LCD.3
EXP2.8 is wired to LCD.4EXP1 or EXP2
and then Duet's LCD row of plugs (next to SD) -
M918 P2 C40 F2000000 E2 causes the 'cursor' to jump all over if I turn one click back or forward. If I turn another click; it isn't flashing anymore; but I'm not able to select most of the stuff on the screen....
-
Anybody?
-
Try E1 as a first step?
-
Tried E1, E2, E3, E4, E10, E20. None of it works the way it is supposed to....
-
@oliof I will try a different screen and board this afternoon - luckily I do have spare.
-
@reefwarrior values of E1 to E4 (or E-1 to E-4) are expected and used. I have a FYSETC 12864 2.1 running on a Duet 3 mini 5+, with the following at the end of config.g
; enable display M918 P2 E-4 G4 S1 ; pause M918 P2 E-4 M150 X2 R255 U255 B255 S3 ; set all 3 LEDs to white
-
@oliof Hi, tried. Different screen and different board. Same result.....
-
@oliof said in FYSETC 12864:
@reefwarrior values of E1 to E4 (or E-1 to E-4) are expected and used. I have a FYSETC 12864 2.1 running on a Duet 3 mini 5+, with the following at the end of config.g
; enable display M918 P2 E-4 G4 S1 ; pause M918 P2 E-4 M150 X2 R255 U255 B255 S3 ; set all 3 LEDs to white
Also I get the M150 command not supported.
CONFIRM the FYSETC mini12864 V2.1 is supported on Duet2 Wifi?
-
@reefwarrior X2 is not a valid command for standard RRF and its only valid on the STM port of RRF. Use X1
-
@jay_s_uk Even die x1 causes it to complain about the command. Been an uphill battle to get this screen to work...
-
@reefwarrior which firmware version? I think neopixel support was only added to the duet 2 in recent beta builds
-
@jay_s_uk Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.3beta2 (2021-03-10)
-
@reefwarrior yea, you need to update
-
@jay_s_uk cool. Any specific version? Or just the latest BETA?
-
@reefwarrior I would probably go 3.4b6 or 3.4b7+4 from here https://forum.duet3d.com/topic/26787/unofficial-rrf-3-4-0beta7-4-files/18