04-07-2019, 11:14 AM
Oh no, what display do you have, I'm guessing CPLD or Sainsmart? I don't know why the images are inverting, because I don't have that display I never got to the bottom of it. This happened to someone else but they just ordered up another display. When you went back to v4.2 library did you close all IDE's on computer before uploading again?
As for touch did you copy that file to the from the old library folder to the new one? If you didn't it's pulling numbers that aren't for your display. The screen goes black with the calibration sketch because there is no code to keep the display lite so you couldn't have used that sketch with 4.2 as it would have been same result. The photocell which dims the display is turning it off because the code isn't there to set it high. Try replacing that UTouchCD.h file from the 4.2 library folder, make sure to close everythign after doing that otherwise the IDE won't see the new file. I haven't calibrated a screen in years so I have to try and dig up something that works.
As for touch did you copy that file to the from the old library folder to the new one? If you didn't it's pulling numbers that aren't for your display. The screen goes black with the calibration sketch because there is no code to keep the display lite so you couldn't have used that sketch with 4.2 as it would have been same result. The photocell which dims the display is turning it off because the code isn't there to set it high. Try replacing that UTouchCD.h file from the 4.2 library folder, make sure to close everythign after doing that otherwise the IDE won't see the new file. I haven't calibrated a screen in years so I have to try and dig up something that works.