mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-07 06:34:44 +02:00
Merge pull request #67 from atanisoft/master
Allow externally defined configuration rather than User_Setup.h modifications in library
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
// Customised User_Setup files are stored in the "User_Setups" folder.
|
// Customised User_Setup files are stored in the "User_Setups" folder.
|
||||||
|
|
||||||
// Only ONE line should be uncommented. Add extra lines and files as needed.
|
// Only ONE line should be uncommented. Add extra lines and files as needed.
|
||||||
|
#ifndef USER_SETUP_LOADED
|
||||||
#include <User_Setup.h> // Default setup is root library folder
|
#include <User_Setup.h> // Default setup is root library folder
|
||||||
|
|
||||||
//#include <User_Setups/Setup1_ILI9341.h> // Setup file configured for my ILI9341
|
//#include <User_Setups/Setup1_ILI9341.h> // Setup file configured for my ILI9341
|
||||||
@@ -31,8 +31,7 @@
|
|||||||
//#include <User_Setups/Setup11_RPi_touch_ILI9486.h> // Setup file configured for my stock RPi TFT with touch
|
//#include <User_Setups/Setup11_RPi_touch_ILI9486.h> // Setup file configured for my stock RPi TFT with touch
|
||||||
|
|
||||||
//#include <User_Setups/SetupX_Template.h> // Setup file template for copying/editting
|
//#include <User_Setups/SetupX_Template.h> // Setup file template for copying/editting
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
// //
|
// //
|
||||||
@@ -74,4 +73,4 @@
|
|||||||
#define PIN_HWCS 0
|
#define PIN_HWCS 0
|
||||||
|
|
||||||
#define PIN_D11 9
|
#define PIN_D11 9
|
||||||
#define PIN_D12 10
|
#define PIN_D12 10
|
||||||
|
Reference in New Issue
Block a user