Hi,
Read the documentation. Without it you won't bring the display to operate.
You can clearely see MOSI and MISO, surronded by f_cs, VDD, GND, clk, t_cs.
I assume these are the libes you need.
Maybe t_cs is for touch controller.
Klaus
Thanks for your reply. Can you tell me what SPI mode this Display works and which display pin I connect with what ESP-12e pin, I preferably use a 3 Wire SPI interface.For the blue PCB display UTFT and UTouch libraries will work.
This is touch screen SPI. Not related to ILI9341 anyhow.I can see that SPI lines are mentioned at the yellow header. Post a high resolution image showing just the yellow header and the table showing pin details. I will then mark the SPI pins and post it back.
Dear readers
I am working on a home automation controller and want to use a display with an ILI9341 controller. These controllers are having a library at github. You can find it here. . A picture of the display is found below the orange PCB.
In the header file of the the library i found that for the ESP8266 the following signals are defined : _cs, _dc, _rst, _mosi, _miso, _sclk these are the signals you find at the 2.2" orange display header.
I want however **broken link removed** based on the same controller. The blue PCB picture below shows this display. The header is different compared with the header of the orange. This is also the case for the signal naming. My problem is to identify the corresponding signals at the blue header. A picture of this header is added below including a picture of the display.
My question is there any one who has experience with this SPI based display and can you help me identifying the cs, _dc, _rst, _sclk signals at the yellow header of this blue display.
Thanks for your help.
Oscar Goos
View attachment 132821 View attachment 132822 View attachment 132823
#include "Adafruit_GFX.h" // Hardware-specific library
#include <MCUFRIEND_kbv.h>
#include <Fonts/FreeMonoBold9pt7b.h>
#include <Fonts/FreeMonoBold12pt7b.h>
// Predefined 565 Colors
#define BLACK 0x0000
#define BLUE 0x001F
#define RED 0xF800
#define GREEN 0x07E0
#define CYAN 0x07FF
#define MAGENTA 0xF81F
#define YELLOW 0xFFE0
#define WHITE 0xFFFF
You need Green and Red (background) to make Yellow. Cyan is a bluish-green color. Is the code for the colours correct?For some reason I need to use color BLUE to have YELLOW letters on the screen. For the background I used CYAN to have a RED color
I meant to add that it looks like the red and the blue are swapped over.For some reason I need to use color BLUE to have YELLOW letters on the screen. For the background I used CYAN to have a RED color
You need Green and Red (background) to make Yellow. Cyan is a bluish-green color. Is the code for the colours correct?
Hi,
Then only: white, black, green is correct, all others are wrong.
But you only said yellow and blue (which makes no sense to me)
Maybe 1 and 0 are swapped (inverted)
What coding is used: 5-6-5 or 5-5-5?
Klaus
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?