mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-03 04:34:43 +02:00
Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI
This commit is contained in:
@@ -133,7 +133,7 @@ void pioinit(uint32_t clock_freq) {
|
|||||||
if (!pio_can_add_program(tft_pio, &tft_io_program)) {
|
if (!pio_can_add_program(tft_pio, &tft_io_program)) {
|
||||||
tft_pio = pio1;
|
tft_pio = pio1;
|
||||||
if (!pio_can_add_program(tft_pio, &tft_io_program)) {
|
if (!pio_can_add_program(tft_pio, &tft_io_program)) {
|
||||||
Serial.println("No room for PIO program!");
|
// Serial.println("No room for PIO program!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -12,11 +12,8 @@
|
|||||||
// Create a shortcut to this file on your desktop to permit quick access for editing.
|
// Create a shortcut to this file on your desktop to permit quick access for editing.
|
||||||
// Re-compile and upload after making and saving any changes to this file.
|
// Re-compile and upload after making and saving any changes to this file.
|
||||||
|
|
||||||
// Customised User_Setup files are stored in the "User_Setups" folder.
|
// Example User_Setup files are stored in the "User_Setups" folder. These can be used
|
||||||
|
// unmodified or adapted for a particular hardware configuration.
|
||||||
// It is also possible for the user tft settings to be included with the sketch, see
|
|
||||||
// the "Sketch_with_tft_setup" generic example. This may be more convenient for
|
|
||||||
// multiple projects.
|
|
||||||
|
|
||||||
#ifndef USER_SETUP_LOADED // Lets PlatformIO users define settings in
|
#ifndef USER_SETUP_LOADED // Lets PlatformIO users define settings in
|
||||||
// platformio.ini, see notes in "Tools" folder.
|
// platformio.ini, see notes in "Tools" folder.
|
||||||
|
@@ -17,7 +17,8 @@
|
|||||||
#define TFT_WIDTH 170
|
#define TFT_WIDTH 170
|
||||||
#define TFT_HEIGHT 320
|
#define TFT_HEIGHT 320
|
||||||
|
|
||||||
#define TFT_DC 7
|
#define TFT_CS 6
|
||||||
|
#define TFT_DC 7
|
||||||
#define TFT_RST 5
|
#define TFT_RST 5
|
||||||
|
|
||||||
#define TFT_WR 8
|
#define TFT_WR 8
|
||||||
|
Reference in New Issue
Block a user