Dom > Novosti > Sadržaj

DISPLAY_RESOLUTION_WQVGA_RESISTANCE_THRESHOLD

Apr 26, 2019

#ifdef VM800P43_50

#define DISPLAY_RESOLUTION_WQVGA (1)

#define FT_800_ENABLE (1)

#define ENABLE_SPI_SINGLE (1)

#define FT_ARDUINO_ATMEGA328P_I2C (1)

#define RTC_PRESENT (1)

#define FT800_CS (9)

#define FT_SDCARD_CS (8)

#define FT800_INT (3)

#define FT800_PD_N (4)

#define FT_ARDUINO_PRO_SPI_CS FT800_CS

#define ARDUINO_PLATFORM_SPI

#define ARDUINO_PLATFORM_COCMD_BURST

#define RESISTANCE_THRESHOLD (1200)

#endif

#ifdef VM800P35

#define DISPLAY_RESOLUTION_QVGA (1)

#define FT_800_ENABLE (1)

#define ENABLE_SPI_SINGLE (1)

#define FT_ARDUINO_ATMEGA328P_I2C (1)

#define RTC_PRESENT (1)

#define FT800_CS (9)

#define FT_SDCARD_CS (8)

#define FT800_INT (3)

#define FT800_PD_N (4)

#define FT_ARDUINO_PRO_SPI_CS FT800_CS

#define ARDUINO_PLATFORM_SPI

#define ARDUINO_PLATFORM_COCMD_BURST

#define RESISTANCE_THRESHOLD (1200)

#endif

#ifdef VM801P43_50

#define DISPLAY_RESOLUTION_WQVGA (1)

#define FT_801_ENABLE (1)

#define ENABLE_SPI_SINGLE (1)

#define FT_ARDUINO_ATMEGA328P_I2C (1)

#define RTC_PRESENT (1)

#define FT800_CS (9)

#define FT_SDCARD_CS (8)

#define FT800_INT (3)

#define FT800_PD_N (4)

#define FT_ARDUINO_PRO_SPI_CS FT800_CS

#define ARDUINO_PLATFORM_SPI


#define ARDUINO_PLATFORM_COCMD_BURST

#endif

#ifdef VM800B43_50

#define DISPLAY_RESOLUTION_WQVGA (1)

#define FT_800_ENABLE (1)

#define ENABLE_SPI_SINGLE (1)

#define FT800_INT (3)

#define FT800_PD_N (4)

#define FT_SDCARD_CS (5)

#define FT800_CS (10)

#define FT_ARDUINO_PRO_SPI_CS (10)

#define ARDUINO_PLATFORM_SPI

#define ARDUINO_PLATFORM_COCMD_BURST

#define RESISTANCE_THRESHOLD (1200)

#endif

#ifdef VM800B35

#define DISPLAY_RESOLUTION_QVGA (1)

#define FT_800_ENABLE (1)

#define ENABLE_SPI_SINGLE (1)

#define FT800_INT (3)

#define FT800_PD_N (4)

#define FT_SDCARD_CS (5)

#define FT800_CS (10)

#define FT_ARDUINO_PRO_SPI_CS (10)

#define ARDUINO_PLATFORM_SPI

#define ARDUINO_PLATFORM_COCMD_BURST

#define RESISTANCE_THRESHOLD (1200)

#endif

#ifdef VM801B43_50

#define DISPLAY_RESOLUTION_WQVGA (1)

#define FT_801_ENABLE (1)

#define ENABLE_SPI_SINGLE (1)

#define FT800_INT (3)

#define FT800_PD_N (4)

#define FT_SDCARD_CS (5)

#define FT800_CS (10)

#define FT_ARDUINO_PRO_SPI_CS (10)

#define ARDUINO_PLATFORM_SPI

#define ARDUINO_PLATFORM_COCMD_BURST

#endif


/ * Korisnička konfiguracija *

#if (! defined (VM800P43_50) &&! definiran (VM800P35) &&! definiran (VM801P43_50) &&! definiran (VM800B43_50) &&! definiran (VM800B35)

&&! definirano (VM801B43_50))

#define DISPLAY_RESOLUTION_QVGA (1) Ovaj odjeljak dozvoljava da se definicije kontroliraju pojedinačno

#define DISPLAY_RESOLUTION_WQVGA (1) ako nema odabira za EVE tip

#define DISPLAY_RESOLUTION_WVGA (1)

#define DISPLAY_RESOLUTION_HVGA_PORTRAIT (1)

/ * Makro konfiguracije čipa * /

#define FT_800_ENABLE (1)

#define FT_801_ENABLE (1)

#define FT_810_ENABLE (1)

#define FT_811_ENABLE (1)

#define FT_812_ENABLE (1)

#define FT_813_ENABLE (1)

/ * SPI specifični makroi - kompajlirati vremenske prekidače za slučajeve SPI single, dial i quad *

#define ENABLE_SPI_SINGLE (1)

#define ENABLE_SPI_DUAL (1)

#define ENABLE_SPI_QUAD (1)

#define FT800_PD_N (4)

#define FT800_CS (10)

/ * Prikaz konfiguracije drajvera - uglavnom za ME900EV1 module * /

#define ENABLE_ILI9488_HVGA_PORTRAIT (1)

#define ARDUINO_PLATFORM_SPI

/ * Prag za otpornost * /

#define RESISTANCE_THRESHOLD (1200)

#endif


#if (definirano (FT_800_ENABLE) || definirano (FT_801_ENABLE))

#define FT_80X_ENABLE (1)

#endif

#if (definirano (FT_810_ENABLE) || definirano (FT_811_ENABLE) || definirano (FT_812_ENABLE) || definirano (FT_813_ENABLE))

#define FT_81X_ENABLE (1)

#endif

/ * Standardne C biblioteke * /

#include

/ * Standardne Arduino biblioteke * /

#include

#include

#include

#include

/ * HAL uključenja * /

#include "FT_DataTypes.h"

#include "FT_Gpu_Hal.h"

#include "FT_Gpu.h"

#include "FT_CoPro_Cmds.h"

#include "FT_Hal_Utils.h"

#define FT800_SEL_PIN FT800_CS

#endif / * _ FT_PLATFORM_H _ * /