Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FT800_2 HYT mbed
Calibration.cpp
00001 #include "Display.h" 00002 00003 /************************************************************************************************************************** 00004 ************************** Put calibration data to FT800 ****************************************************************** 00005 **************************************************************************************************************************/ 00006 void Display::Calibration() 00007 { 00008 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}; 00009 for (int i = 0; i < 24; i++) { 00010 (*_TFT).Wr8(REG_TOUCH_TRANSFORM_A + i, calibration[i]); 00011 } 00012 }
Generated on Fri Jul 15 2022 19:43:07 by
