Riverdi 70

Dependencies:   mbed HYT FT813

Committer:
vitlog
Date:
Thu Jun 18 13:18:02 2020 +0000
Revision:
0:e46c1282b39f
Riverdi EVE 70

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vitlog 0:e46c1282b39f 1 #include "display.h"
vitlog 0:e46c1282b39f 2
vitlog 0:e46c1282b39f 3 /**************************************************************************************************************************
vitlog 0:e46c1282b39f 4 ************************** Put calibration data to FT800 ******************************************************************
vitlog 0:e46c1282b39f 5 **************************************************************************************************************************/
vitlog 0:e46c1282b39f 6 void Display::Calibration()
vitlog 0:e46c1282b39f 7 {
vitlog 0:e46c1282b39f 8 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};
vitlog 0:e46c1282b39f 9 for (int i = 0; i < 24; i++) {
vitlog 0:e46c1282b39f 10 (*_TFT).Wr8(REG_TOUCH_TRANSFORM_A + i, calibration[i]);
vitlog 0:e46c1282b39f 11 }
vitlog 0:e46c1282b39f 12 }