for (byte count = 0; count {
sbi data (P_CLK, B_CLK);
cbi (P_CLK, B_CLK);
delayMicroseconds (2); //// Tempo
if (rbi (P_DOUT, B_DOUT))
++ data;
}
return (data);
}
Do not forget to calibrate the touch screen by launching the sample program: UTouch_Calibration
You will have 3 values to edit the file: UTouchCD.h
in my case:
#define CAL_X 0x003F8F4FUL
#define CAL_Y 0x03CEC152UL
#define CAL_S 0x000EF13FUL
For the SD slot, the SD library does not work but I managed some manipulations with tinyFat Utft_tinyFat and bookshops
This is my first test
if my remarks can help future buyers ...