Id-dar > Aħbarijiet > Il-kontenut

DISPLAY_RESOLUTION_WQVGA_RESISTANCE_THRESHOLD

Apr 26, 2019

#ifdef VM800P43_50

#defin DISPLAY_RESOLUTION_WQVGA (1)

#defin FT_800_ENABLE (1)

#defini ENABLE_SPI_SINGLE (1)

#define FT_ARDUINO_ATMEGA328P_I2C (1)

#defini RTC_PRESENT (1)

#definixxi FT800_CS (9)

#definixxi FT_SDCARD_CS (8)

#definixxi FT800_INT (3)

#definixxi FT800_PD_N (4)

#definixxi FT_ARDUINO_PRO_SPI_CS FT800_CS

#definixxi ARDUINO_PLATFORM_SPI

#definixxi ARDUINO_PLATFORM_COCMD_BURST

#definixxi RESISTANCE_THRESHOLD (1200)

#endif

#ifdef VM800P35

#definixxi DISPLAY_RESOLUTION_QVGA (1)

#defin FT_800_ENABLE (1)

#defini ENABLE_SPI_SINGLE (1)

#define FT_ARDUINO_ATMEGA328P_I2C (1)

#defini RTC_PRESENT (1)

#definixxi FT800_CS (9)

#definixxi FT_SDCARD_CS (8)

#definixxi FT800_INT (3)

#definixxi FT800_PD_N (4)

#definixxi FT_ARDUINO_PRO_SPI_CS FT800_CS

#definixxi ARDUINO_PLATFORM_SPI

#definixxi ARDUINO_PLATFORM_COCMD_BURST

#definixxi RESISTANCE_THRESHOLD (1200)

#endif

#ifdef VM801P43_50

#defin DISPLAY_RESOLUTION_WQVGA (1)

#defin FT_801_ENABLE (1)

#defini ENABLE_SPI_SINGLE (1)

#define FT_ARDUINO_ATMEGA328P_I2C (1)

#defini RTC_PRESENT (1)

#definixxi FT800_CS (9)

#definixxi FT_SDCARD_CS (8)

#definixxi FT800_INT (3)

#definixxi FT800_PD_N (4)

#definixxi FT_ARDUINO_PRO_SPI_CS FT800_CS

#definixxi ARDUINO_PLATFORM_SPI


#definixxi ARDUINO_PLATFORM_COCMD_BURST

#endif

#ifdef VM800B43_50

#defin DISPLAY_RESOLUTION_WQVGA (1)

#defin FT_800_ENABLE (1)

#defini ENABLE_SPI_SINGLE (1)

#definixxi FT800_INT (3)

#definixxi FT800_PD_N (4)

#definixxi FT_SDCARD_CS (5)

#definixxi FT800_CS (10)

#defini FT_ARDUINO_PRO_SPI_CS (10)

#definixxi ARDUINO_PLATFORM_SPI

#definixxi ARDUINO_PLATFORM_COCMD_BURST

#definixxi RESISTANCE_THRESHOLD (1200)

#endif

#ifdef VM800B35

#definixxi DISPLAY_RESOLUTION_QVGA (1)

#defin FT_800_ENABLE (1)

#defini ENABLE_SPI_SINGLE (1)

#definixxi FT800_INT (3)

#definixxi FT800_PD_N (4)

#definixxi FT_SDCARD_CS (5)

#definixxi FT800_CS (10)

#defini FT_ARDUINO_PRO_SPI_CS (10)

#definixxi ARDUINO_PLATFORM_SPI

#definixxi ARDUINO_PLATFORM_COCMD_BURST

#definixxi RESISTANCE_THRESHOLD (1200)

#endif

#ifdef VM801B43_50

#defin DISPLAY_RESOLUTION_WQVGA (1)

#defin FT_801_ENABLE (1)

#defini ENABLE_SPI_SINGLE (1)

#definixxi FT800_INT (3)

#definixxi FT800_PD_N (4)

#definixxi FT_SDCARD_CS (5)

#definixxi FT800_CS (10)

#defini FT_ARDUINO_PRO_SPI_CS (10)

#definixxi ARDUINO_PLATFORM_SPI

#definixxi ARDUINO_PLATFORM_COCMD_BURST

#endif


/ * Il-konfigurazzjoni skont l-ordni stabbilita mill-utent * /

#if (! definit (VM800P43_50) &&! definit (VM800P35) &&! definit (VM801P43_50) &&! definit (VM800B43_50) &&! definit (VM800B35)

&&! definiti (VM801B43_50))

#define DISPLAY_RESOLUTION_QVGA (1) Din it-taqsima tippermetti li d-definizzjonijiet jiġu kkontrollati individwalment

#define DISPLAY_RESOLUTION_WQVGA (1) jekk ma saret l-ebda għażla għat-tip EVE

#definixxi DISPLAY_RESOLUTION_WVGA (1)

#definixxi DISPLAY_RESOLUTION_HVGA_PORTRAIT (1)

/ * Makros speċifiċi għall-konfigurazzjoni taċ-ċippa * /

#defin FT_800_ENABLE (1)

#defin FT_801_ENABLE (1)

#defin FT_810_ENABLE (1)

#defin FT_811_ENABLE (1)

#defin FT_812_ENABLE (1)

#defin FT_813_ENABLE (1)

/ * Makros speċifiċi għall-SPI - jikkompila swiċċijiet tal-ħin għal każijiet ta 'użu SPI wieħed, dial u quad * /

#defini ENABLE_SPI_SINGLE (1)

#defini ENABLE_SPI_DUAL (1)

#defini ENABLE_SPI_QUAD (1)

#definixxi FT800_PD_N (4)

#definixxi FT800_CS (10)

/ * Display konfigurazzjonijiet tas-sewwieq - prinċipalment għal moduli ME900EV1 * /

#defini ENABLE_ILI9488_HVGA_PORTRAIT (1)

#definixxi ARDUINO_PLATFORM_SPI

/ * Limitu għar-reżistenza * /

#definixxi RESISTANCE_THRESHOLD (1200)

#endif


#if (definit (FT_800_ENABLE) || definit (FT_801_ENABLE))

#defin FT_80X_ENABLE (1)

#endif

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

#defin FT_81X_ENABLE (1)

#endif

/ * Libreriji standard C * /

#inkludi

/ * Libreriji standard Arduino * /

#inkludi

#inkludi

#inkludi

#include

/ * Inklużjonijiet HAL * /

#inkludi "FT_DataTypes.h"

#inkludi "FT_Gpu_Hal.h"

#inkludi "FT_Gpu.h"

#inkludi "FT_CoPro_Cmds.h"

#inkludi "FT_Hal_Utils.h"

#definixxi FT800_SEL_PIN FT800_CS

#endif / * _ FT_PLATFORM_H _ * /