Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TFT_eSPI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
TFT_eSPI
Commits
f96efe5d
Commit
f96efe5d
authored
Apr 12, 2021
by
Bodmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Dxx pins for RP2040
Dxx pin names are not used with RPi Pico Note: A0-3 are defined for pins 26-29
parent
534372ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
44 deletions
+11
-44
Processors/TFT_eSPI_RP2040.h
Processors/TFT_eSPI_RP2040.h
+5
-38
User_Setups/Setup60_RP2040_ILI9341.h
User_Setups/Setup60_RP2040_ILI9341.h
+6
-6
No files found.
Processors/TFT_eSPI_RP2040.h
View file @
f96efe5d
...
...
@@ -195,43 +195,10 @@
////////////////////////////////////////////////////////////////////////////////////////
// Temporary to keep the "Arduino Mbed OS RP2040 Boards" support package happy
////////////////////////////////////////////////////////////////////////////////////////
#if defined(ARDUINO_ARCH_RP2040)
#ifndef D0
#define D0 0
#define D1 1
#define D2 2
#define D3 3
#define D4 4
#define D5 5
#define D6 6
#define D7 7
#define D8 8
#define D9 9
#define D10 10
#define D11 11
#define D12 12
#define D13 13
#define D14 14
#define D15 15
#define D16 16
#define D17 17
#define D18 18
#define D19 19
#define D20 20
#define D21 21
#define D22 22
#define D23 23
#define D24 24
#define D25 25
#define D26 26
#define D27 27
#define D28 28
#define D29 29
#define D30 30
#endif
#define ltoa itoa
#endif
#if defined(ARDUINO_ARCH_RP2040)
#define ltoa itoa
#endif
#endif // Header end
User_Setups/Setup60_RP2040_ILI9341.h
View file @
f96efe5d
...
...
@@ -122,12 +122,12 @@
// to be toggled during setup, so in these cases the TFT_CS line must be defined and connected.
// For the Pico use these #define lines
#define TFT_MISO
D
0
#define TFT_MOSI
D
3
#define TFT_SCLK
D
2
#define TFT_CS
D
20 // Chip select control pin
#define TFT_DC
D
18 // Data Command control pin
#define TFT_RST
D
19 // Reset pin (could connect to Arduino RESET pin)
#define TFT_MISO
0
#define TFT_MOSI
3
#define TFT_SCLK
2
#define TFT_CS 20 // Chip select control pin
#define TFT_DC 18 // Data Command control pin
#define TFT_RST 19 // Reset pin (could connect to Arduino RESET pin)
//#define TFT_BL // LED back-light
//#define TOUCH_CS 21 // Chip select pin (T_CS) of touch screen
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment