Library for FT810 EVE chip

Fork of FT810 by Curtis Mattull

Revision:
11:435747a1f2ae
Parent:
10:4c10e6aeb239
Child:
12:74108436751e
--- a/inc/FT_Platform.h	Sat Sep 16 18:34:14 2017 +0000
+++ b/inc/FT_Platform.h	Sat Sep 16 23:40:11 2017 +0000
@@ -1,5 +1,33 @@
 #ifndef _FT_PLATFORM_H_
 #define _FT_PLATFORM_H_
+
+//#define ARDUINO_PLATFORM
+
+/* Module specific configurations */
+#define VM800P43_50
+
+#ifdef VM800P43_50
+
+#define DISPLAY_RESOLUTION_WVGA                     (1)
+#define FT_811_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
+
+#if (defined(FT_810_ENABLE) || defined(FT_811_ENABLE) || defined(FT_812_ENABLE) || defined(FT_813_ENABLE))
+#define FT_81X_ENABLE                               (1)
+#endif
+
+
 /* HAL inclusions */
 #include "FT_DataTypes.h"
 #include "FT_Gpu_Hal.h"
@@ -8,5 +36,10 @@
 #include "FT_LCD_Type.h"
 #include "FT_color.h"
 
+
 #endif /*_FT_PLATFORM_H_*/
-/* Nothing beyond this*/
\ No newline at end of file
+/* Nothing beyond this*/
+
+
+
+