XIAO RP2040 w/ILI9341 SPI #2792
dslocum
started this conversation in
Compatible displays and setup files
Replies: 1 comment 1 reply
-
Sorry about the large bold font. Can't figure out how to get rid of it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
New here. Trying to get some screen output going but not sure if this is a setup file issue or not. Could use some suggestions.
I modified the UserSetup.h thusly:
// Below section added by DLS 8/16/2023
// For RP2040 - use pin numbers in the form PIN_Dx where Dx is the RP2040 pin designation
//#define TFT_MISO 19
#define TFT_MOSI PIN_D10
#define TFT_SCLK PIN_D8
#define TFT_CS PIN_D7 // Chip select control pin
#define TFT_DC PIN_D6 // Data Command control pin
#define TFT_RST PIN_D5 // Reset pin (could connect to RST pin
#define TOUCH_CS PIN_D4 // Chip select pin (T_CS) of touch screen
Trying to run one of the examples "TFT_METERS.INO" as a first test.
I'm only getting "reasonable" activity on the TFT_CS line (D7) and TFT_SCLK is steady HIGH. All other pins are steady low.
Interestingly, I've tried to manually set a couple of pins HIGH in SETUP using:
void setup(void) {
digitalWrite(TOUCH_CS, HIGH);
while(1);
..but it also stays low.
I've worked with other Arduinos (UNO, etc) before, but this is my first shot at this RP2040.
Could really use another set of eye on this please.
Thanks
Doug
Beta Was this translation helpful? Give feedback.
All reactions