This commit is contained in:
Bodmer
2023-05-16 23:43:36 +01:00
3 changed files with 5 additions and 7 deletions

View File

@@ -133,7 +133,7 @@ void pioinit(uint32_t clock_freq) {
if (!pio_can_add_program(tft_pio, &tft_io_program)) {
tft_pio = pio1;
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;
}
}

View File

@@ -12,11 +12,8 @@
// 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.
// Customised User_Setup files are stored in the "User_Setups" folder.
// 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.
// Example User_Setup files are stored in the "User_Setups" folder. These can be used
// unmodified or adapted for a particular hardware configuration.
#ifndef USER_SETUP_LOADED // Lets PlatformIO users define settings in
// platformio.ini, see notes in "Tools" folder.

View File

@@ -17,7 +17,8 @@
#define TFT_WIDTH 170
#define TFT_HEIGHT 320
#define TFT_DC 7
#define TFT_CS 6
#define TFT_DC 7
#define TFT_RST 5
#define TFT_WR 8