AnsweredAssumed Answered

eGUI + TWR-K70F120M + TWR_LCD_RGB touch calibration

Question asked by Martin Dusek on Feb 20, 2013
Latest reply on Feb 24, 2013 by Martin Dusek

Hello,

I'm unable to pass calibration procedure (D4D_CalibrateTouchScreen()). My touch screen controller is cr touch (d4dtch_cr_touch.c version 0.0.4.0, date Nov-24-2011). When I touch yellow cross, I get {25, 25} {124, 250} {225, 450} coordinates on the screen (that seems fine), but the code never passes

 

if ((X[0] > X[1]) && (X[1] > X[2]) && (Y[0] > Y[1]) && (Y[1] > Y[2])) // line 775 in d4d_low.c, version 0.0.43.0, date Feb-23-2011

 

How should I configure D4D or cr touch to pass the calibration procedure?

 

Thanks

 

Martin

Outcomes