Format and code tidy - fixes for compatibility issues
This commit is contained in:
1 parent
e65f4cb1fe
commit
d31cbc3dbd
18 files changed
+378
-465
No files matched your search
+16
-2
@@ -29,8 +29,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// DON'T TINKER WITH ANY OF THE FOLLOWING LINES, THESE ADD THE TFT DRIVERS //
|
||||
@@ -38,6 +36,7 @@
|
||||
// //
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Load the right driver definition - do not tinker here !
|
||||
#if defined (ILI9341_DRIVER)
|
||||
#include <TFT_Drivers/ILI9341_Defines.h>
|
||||
@@ -50,3 +49,18 @@
|
||||
#elif defined (RPI_ILI9486_DRIVER)
|
||||
#include <TFT_Drivers/RPI_ILI9486_Defines.h>
|
||||
#endif
|
||||
|
||||
// Define the pins if needed (See Section 4 of User_Setup.h)
|
||||
#ifdef DEFINE_DX_PINS
|
||||
#define D0 16
|
||||
#define D1 5
|
||||
#define D2 4
|
||||
#define D3 0
|
||||
#define D4 2
|
||||
#define D5 14
|
||||
#define D6 12
|
||||
#define D7 13
|
||||
#define D8 15
|
||||
#define D9 3
|
||||
#define D10 1
|
||||
#endif
|
||||
Reference in new issue
Block a user