Vitaliy Loginov
/
disp70
Riverdi 70
TFT/display.Calibration.cpp
- Committer:
- vitlog
- Date:
- 2020-06-18
- Revision:
- 0:e46c1282b39f
File content as of revision 0:e46c1282b39f:
#include "display.h" /************************************************************************************************************************** ************************** Put calibration data to FT800 ****************************************************************** **************************************************************************************************************************/ void Display::Calibration() { char calibration[25] = {98, 99, 0, 0, 182, 254, 255, 255, 245, 142, 248, 255, 117, 254, 255, 255, 34, 98, 0, 0, 123, 154, 248, 255}; for (int i = 0; i < 24; i++) { (*_TFT).Wr8(REG_TOUCH_TRANSFORM_A + i, calibration[i]); } }