GithubHelp home page GithubHelp logo

schreibfaul1 / esp32-tft-library-ili9486 Goto Github PK

View Code? Open in Web Editor NEW
96.0 6.0 26.0 3.87 MB

A library for 3.5 inch RPi LCD (A) 320x480 display from Waveshare

Makefile 0.01% C 99.03% C++ 0.97%
esp32 arduino ili9486 xpt2046

esp32-tft-library-ili9486's People

Contributors

per1234 avatar schreibfaul1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

esp32-tft-library-ili9486's Issues

Wiring Schematics

I've got a 3.5" RPi LCD (A), which I believe I can use with my Arduino Uno using this library. Could I please know the wiring schematics for the example in this repository? Which pin on the display should I connect to which pin on the Arduino Uno?

ili9486 3.5" & SD waveshare SKU 13506

SD mounts only if NOT reformatted by windows 10.

void setup() {
SPI.begin(SPI_SCK, SPI_MISO, SPI_MOSI);
tft.begin(TFT_CS, TFT_DC, SPI_MOSI, SPI_MISO, SPI_SCK);
//tft.setFrequency(10000000);
SD.begin(SD_CS);
//SD.begin(SD_CS,SPI,10000000); // faster speed max 40MHz
Serial.begin(115200);
}

rgds
rudi

ESP32 combine TFT-ILI9486 with audioI2S

image
hi wolle
TFT working well by setting the undocumented switches to on - thanks!
implementing audio is not working, because
audio_eof_mp3 is not end of mp3_file but
end of byte part..
how to code End of file ?

servus aus villach
danke
opti

Touch tests always returns 0

Using the touch test sample code on the home page always returns on the screen:
PosX=0
PosY=0

void tp_pressed(uint16_t x, uint16_t y) is never run!!!

#include "Arduino.h"
#include "SPI.h"
#include "tft.h"

#define TFT_CS        17 //22
#define TFT_DC        5  //21
#define TFT_BL        22 //17 33 (pico V4)
#define TP_IRQ        15 //39
#define TP_CS         16 //16 32 (pico V4)
#define SPI_MOSI      23 //23
#define SPI_MISO      19 //19
#define SPI_SCK       18 //18

TFT tft(0);
TP tp(TP_CS, TP_IRQ);

uint16_t tp_x, tp_y;

void setup() {
    Serial.begin(115200);
    SPI.begin();
    tft.begin(TFT_CS, TFT_DC, SPI_MOSI, SPI_MISO, SPI_SCK, TFT_BL);
//  SD.begin();
    tft.setRotation(1); // Use landscape format
    tp.setRotation(1);
    tft.fillScreen(TFT_BLACK);
    tft.setTextColor(TFT_GREENYELLOW);
    tft.setTextSize(2);
}

//-------------------------------------------------------------------------------------
void loop(void) {
    tp.loop();
}
//-------------------------------------------------------------------------------------

// Event from TouchPad
void tp_pressed(uint16_t x, uint16_t y){
    tp_x=x;  tp_y=y;
    Serial.print("X=");
    Serial.print(x);
    Serial.print(" Y=");
    Serial.println(y);
}
void tp_released(){
    tft.fillRect(100, 100, 80, 40, TFT_BLACK);
    tft.setCursor(100, 100);
    tft.print("PosX="); tft.println(tp_x);
    tft.print("PosY="); tft.println(tp_y);
    Serial.print("PosX=");
    Serial.print(tp_x);
    Serial.print(" PosY=");
    Serial.println(tp_y);

ESP32 TFT-Library -ILI9486 4"

I have been tried to use your ESP32-TFT-Library-ILI9486 on
SKU: 13587
Part Number: 4inch TFT Touch Shield
Brand: Waveshare
UPC: 614961951242
4" display.
Unfortunatelly it dosn't work , do you know what changes should i do to run it on 4" display, or do you know any other existig solution.
Pawel,

ESP32 Wroom issues

I am trying to assist someone with with this display and dev board setup. my display comes on and then goes black and dies. is this a power delivery issue or am I doing something wrong. I am using the text only test at the moment.

3.5" TFT LCD with strange pin out

Hi I bought this tft out of amazon.
I think it was designed for the arduino mega but I was wondering if I could use it with an esp32. However, I can't understand how to connect it to the microprocesor. Could anyone help me?
WhatsApp Image 2021-03-08 at 22 13 16

Waveshare 3.5 inch RPI LCD (B) Rev2.0

Hello,
I tested the library with a Waveshare 3.5 inch RPI LCD (B) Rev2.0 display. Works great, except drawBmpFile and drawJpgFile. The image has the wrong colors, the color depth is missing. Can the issue be solved?

2

1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.