test
Dependencies: ad5422_arduino mbed LT1446 ADS1248-1 LM35-1 Flash FT813 PGA280_ADS1259
TFT/display.DisplayListFunctions.cpp
- Committer:
- nikmaos
- Date:
- 2020-08-08
- Revision:
- 3:d4b106bf3a32
File content as of revision 3:d4b106bf3a32:
#include "display.h" /************************************************************************************************************************** ************************** Start display list ***************************************************************************** **************************************************************************************************************************/ void Display::StartDL() { (*_TFT).DLstart(); // set white color for background (*_TFT).DL(CLEAR_COLOR_RGB(255, 255, 255)); // clear buffers for preset values (*_TFT).DL(CLEAR(1, 1, 1)); } /************************************************************************************************************************** ************************** Finish display list **************************************************************************** **************************************************************************************************************************/ void Display::FinishDL() { (*_TFT).DL(DISPLAY()); // Swap the current display list (*_TFT).Swap(); // Download the command list into fifo TFT (*_TFT).Flush_Co_Buffer(); // Wait for the complete consumption of FT800 Coprocessor commands (*_TFT).WaitCmdfifo_empty(); }