02-16-2016, 12:39 PM
Hey Benny314, when fietsenrex mentioned the images it brought back memories. Someone else was having this problem and it turned out to be a relay icon image causing the problem. It isn't because you're missing the icons that's an eeprom related issue. I believe he downloaded the images again and re-loaded them and it fixed it, I'm trying to find our conversation but not remembering who it was and tons of emails its not easy. Where on the screen does the pattern begin? On his it was at the icon causing the issue. For sure its not library related, the touch is, that's the hardest to get correct on the sainsmart, imagine that .
Here's some different calibration numbers I have that might get the touch working. Open the UTouchCD.h file and paste these over the existing ones. If you have the Arduino IDE open make sure you restart it so it sees the changes.
The reason the power icons are missing is a setting in the eeprom is correct, I probably forgot to add it to the eeprom defaults, when you get the touch working do the following and they'll show up.
Press "Settings", "Customize", "Outlets" and then exit the screen with the yellow icon and return to the home page and they should appear.
Here's some different calibration numbers I have that might get the touch working. Open the UTouchCD.h file and paste these over the existing ones. If you have the Arduino IDE open make sure you restart it so it sees the changes.
Code:
#define CAL_X 0x00204F8FUL
#define CAL_Y 0x039FC1B9UL
#define CAL_S 0x8031F1DFUL
Code:
#define CAL_X 0x03A50118UL
#define CAL_Y 0x03C7C0D3UL
#define CAL_S 0x001DF31FUL
Code:
#define CAL_X 0x00248EA8UL
#define CAL_Y 0x00270ECBUL
#define CAL_S 0x8031F1DFUL
The reason the power icons are missing is a setting in the eeprom is correct, I probably forgot to add it to the eeprom defaults, when you get the touch working do the following and they'll show up.
Press "Settings", "Customize", "Outlets" and then exit the screen with the yellow icon and return to the home page and they should appear.