79341074

Date: 2025-01-09 00:31:42
Score: 0.5
Natty:
Report link

The WiFi seems to use the ADC2. Answers on other websites state, that that doesn´t matter, if your not using the pins that the ADC2 uses as an ADC channel. That turns out to be wrong.

Pin 2 and 4, which in this case were used as TFT_DC and TFT_RST are channels of ADC2. Changing the pins to 32 and 33 does the job:

#define TFT_CS           5
#define TFT_RST         32
#define TFT_DC          33

Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: RANGO