Allow RP2040 SPI 0 or SPI 1 ports to be used
Auto set of CGRAM offset for 135 x 240 ST7789 display
This commit is contained in:
1 parent
12f9ce8691
commit
5959550dd7
11 files changed
+160
-119
No files matched your search
@@ -159,7 +159,7 @@ void printProcessorName(void)
|
||||
// Get pin name
|
||||
int8_t getPinName(int8_t pin)
|
||||
{
|
||||
// For ESP32 pin labels on boards use the GPIO number
|
||||
// For ESP32 and RP2040 pin labels on boards use the GPIO number
|
||||
if (user.esp == 0x32 || user.esp == 0x2040) return pin;
|
||||
|
||||
if (user.esp == 0x8266) {
|
||||
|
||||
Reference in new issue
Block a user