You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a new requirement in the setup file I'm not sure if its a bug or anything but let me summarize it.
Setup file needs a new requirement compared to older versions.
Arduino
Can be observed in the version 2.5.43 while in 2.5.34 works normally
Raspberry pi pico 2040 version 3.7.2
Procesor RP2040
TFT driver 7789
Interface type SPI
So my setup file works for every prior versions except for the latest one 2.5.43
Then I added this line
#define RP2040_PIO_SPI
and it started to work. In the earlier versions PIO was not necessary to be defined.
Tests are done with Colour_Test.ino
Apart from the setup file everything is standard and nothing is modified. And it has been tested with 2 different screens to make sure its not a hardware issue.
My setup looks like this;
#define ST7789_DRIVER
#define TFT_WIDTH 135
#define TFT_HEIGHT 240
#define CGRAM_OFFSET
#define TFT_CS 17
#define TFT_DC 20
#define TFT_RST 21
#define TFT_MOSI 19
#define TFT_SCLK 18
#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT6
#define LOAD_FONT7
#define LOAD_FONT8
#define LOAD_GFXFF
#define SMOOTH_FONT
#define RP2040_PIO_SPI // <----- Adding this line makes it work for version 2.5.43
#define SPI_FREQUENCY 40000000
The text was updated successfully, but these errors were encountered:
I noticed a new requirement in the setup file I'm not sure if its a bug or anything but let me summarize it.
So my setup file works for every prior versions except for the latest one 2.5.43
Then I added this line
#define RP2040_PIO_SPI
and it started to work. In the earlier versions PIO was not necessary to be defined.
Tests are done with Colour_Test.ino
Apart from the setup file everything is standard and nothing is modified. And it has been tested with 2 different screens to make sure its not a hardware issue.
My setup looks like this;
The text was updated successfully, but these errors were encountered: