Hi everyone, I'm at my wits end here. No matter what I do, I can not get clear output to this TFT screen. At first I thought it was simply my code, but I decided to be certain before resorting to this post so I started fresh:
Arduino Uno, SD1351 Screen + Breakout board
Following this guide: Drawing Bitmaps | Adafruit 1.27" and 1.5" Color OLED Breakout Board | Adafruit Learning System
Everything is pinned EXACTLY as shown for SPI. I've checked, and re-checked.
I'm running this TEST code: Adafruit-SSD1351-library/test.ino at master · adafruit/Adafruit-SSD1351-library · GitHub
With the pins updated to match the requirements for SPI and the 96px tall version of the screen:
// Screen dimensions
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 96 // Change this to 96 for 1.27" OLED.
// You can use any (4 or) 5 pins
#define SCLK_PIN 13
#define MOSI_PIN 11
#define DC_PIN 4
#define CS_PIN 5
#define RST_PIN 6
I get completely scrambled output if I don't use SPI despite them claiming is optional, so the OPTION 2 constructor is used to get to even this point:
//Option 1: use any pins but a little slower
//Adafruit_SSD1351 tft = Adafruit_SSD1351(SCREEN_WIDTH, SCREEN_HEIGHT, CS_PIN, DC_PIN, MOSI_PIN, SCLK_PIN, RST_PIN);
// Option 2: must use the hardware SPI pins
// (for UNO thats sclk = 13 and sid = 11) and pin 10 must be
// an output. This is much faster - also required if you want
// to use the microSD card (see the image drawing example)
Adafruit_SSD1351 tft = Adafruit_SSD1351(SCREEN_WIDTH, SCREEN_HEIGHT, &SPI, CS_PIN, DC_PIN, RST_PIN);
The problem is, my output is very blurred, most noticeable on text:
For reference, this is how clear it should look: OLED Breakout Board - 16-bit Color 1.27 w/microSD holder [EYESPI Connector] : ID 1673 : $29.95 : Adafruit Industries, Unique & fun DIY electronics and kits
I must be missing something totally obvious here. I've even went as far to consider bad hardware/soldering so I bought a second screen and it's exactly the same issue so we can rule that out as well.