All Projects → schreibfaul1 → ESP32-TFT-Library-ILI9486

schreibfaul1 / ESP32-TFT-Library-ILI9486

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

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to ESP32-TFT-Library-ILI9486

esp-idf-parallel-tft
8bit parallel TFT & 4-line resistance touch screen Driver for esp-idf using i2s paralell mode
Stars: ✭ 45 (-32.84%)
Mutual labels:  esp32, ili9486
Raspberry-ili9325
Parallel TFT Shield Library for wiringPi
Stars: ✭ 40 (-40.3%)
Mutual labels:  xpt2046, ili9486
esp32-internet-ota
ESP32 + GitHub Actions + Husarnet. A boilerplate project for ESP32 allowing in-field firmware update using GitHub Actions workflow.
Stars: ✭ 28 (-58.21%)
Mutual labels:  esp32
docker-esp-sdk
Executable docker image to easily compile and flash for the ESP32 and ESP8266
Stars: ✭ 30 (-55.22%)
Mutual labels:  esp32
ESPHome-Air-Quality-Monitor
ESPHome configuration for a DIY indoor air quality monitor for CO₂ concentration, PM2.5 and PM10 concentrations, and temperature, humidity and pressure
Stars: ✭ 42 (-37.31%)
Mutual labels:  esp32
ESP32 LoRa 1Ch Gateway
ESP32+RFM95 = Single-channel LoRa WiFI Gateway (or device!)
Stars: ✭ 20 (-70.15%)
Mutual labels:  esp32
ESP32-R4sGate-for-Redmond
ESP32 Ready4Sky (R4S) Gateway for Redmond+ devices
Stars: ✭ 117 (+74.63%)
Mutual labels:  esp32
esphome-components
ESPHome components
Stars: ✭ 62 (-7.46%)
Mutual labels:  esp32
n2d
An easy to use ESP8266 flash tool with built-in support for the Deauther Project.
Stars: ✭ 136 (+102.99%)
Mutual labels:  esp32
pycom-ruuvitag
Pycom MicroPython RuuviTag BLE Sensor Beacon scanner
Stars: ✭ 18 (-73.13%)
Mutual labels:  esp32
esp32-ds18b20
ESP32-compatible C library for Maxim Integrated DS18B20 Programmable Resolution 1-Wire Digital Thermometer.
Stars: ✭ 61 (-8.96%)
Mutual labels:  esp32
codos
Un sistema de detección del CO2 para el aula
Stars: ✭ 41 (-38.81%)
Mutual labels:  esp32
uPyEcho
Emulated Belkin WeMo device that works with Amazon Echo (Alexa) using MicroPython on an ESP32
Stars: ✭ 44 (-34.33%)
Mutual labels:  esp32
supla-arduino
SuplaDevice library for Arduino IDE that helps you build your own IoT device based on ESPx and Arduino Mega boards.
Stars: ✭ 25 (-62.69%)
Mutual labels:  esp32
SuperGreenOS
🧠 SuperGreenOS home farming automation software for esp32, all in one package, and controllable from your smartphone, pc, mac, linux, toaster, plumbus, whatnot...
Stars: ✭ 83 (+23.88%)
Mutual labels:  esp32
PCF8575 library
Library to use i2c digital expander with arduino, esp8266 and esp32. Can read write digital value with only 2 wire (perfect for ESP-01).
Stars: ✭ 28 (-58.21%)
Mutual labels:  esp32
esp8266-upy
MicroPython Cross-platform Drivers - collection of code, wiring and sample for various breakout boards - Works with ESP8266, Pyboard, PYB405, Wemos, etc))
Stars: ✭ 36 (-46.27%)
Mutual labels:  esp32
EasyBuzzer
The Beep Library For Arduino
Stars: ✭ 63 (-5.97%)
Mutual labels:  esp32
home-energy-monitor
ESP32-based Home Energy Monitor
Stars: ✭ 152 (+126.87%)
Mutual labels:  esp32
FT800-FT813
Multi-Platform C code Library for EVE graphics controllers from FTDI / Bridgetek (FT810, FT811, FT812, FT813, BT815, BT816, BT817, BT818)
Stars: ✭ 80 (+19.4%)
Mutual labels:  esp32

ESP32-TFT-Library-ILI9486

A library for 3.5 inch RPi LCD (A) 320x480 display from Waveshare, for LCD (B) comment line 61 and uncomment line 62 in tft.cpp
Display

Create new fonts with MikroElektronika GLCD Font Creator and insert the new font in fonts.h
You can also display bitmaps, touchpadcontroller XPT2046 is included
Examplecodes:

#include "Arduino.h"
#include "SPI.h"
#include "ili9486.h"

// defaults can be changed in tft.begin
// CS=22, DC=21, MOSI=23, MISO=19, SCK=18

TFT tft;
//-------------------------------------------------------------------------------------
void setup() {
    SPI.begin();
    tft.begin();
    tft.setRotation(1); //landscape
    tft.fillScreen(TFT_BLACK);
    tft.setFont(Garamond34x42);
    tft.setTextColor(TFT_CYAN);
    tft.setCursor(20,30);
    tft.print("Hello World!");
}
//-------------------------------------------------------------------------------------
void loop(void) {
    for(uint8_t rotation=0; rotation<4; rotation++) {
        tft.setRotation(rotation);
        tft.fillScreen(TFT_BLACK);
        tft.setCursor(20,30);
        tft.print("Hello World!");
        delay(3000);
    }
}
//-------------------------------------------------------------------------------------

Display a bitmap or jpg file, thanks to Bodmer for his great work - JPEG Decoder Library https://github.com/Bodmer/JPEGDecoder

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

TFT tft;

void setup() {
    SPI.begin();
    tft.begin();
    SD.begin();
    //SD.begin(5,SPI,16000000); // faster speed
}

//-------------------------------------------------------------------------------------
void loop(void) {
        tft.setRotation(0); //portait
        tft.drawBmpFile(SD, "/wall_e.bmp", 0, 0);
        delay(2000);
        tft.setRotation(3); //landscape
        tft.drawJpgFile(SD,"/wallpaper1.jpg", 0,0);
        delay(2000);
        tft.drawJpgFile(SD,"/arduino.jpg", 100,50);
        delay(2000);

}
//-------------------------------------------------------------------------------------

Use the touchpad

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

#define TP_IRQ        39
#define TP_CS         16

TFT tft;
TP tp(TP_CS, TP_IRQ);

uint16_t tp_x, tp_y;

void setup() {
    SPI.begin();
    tft.begin();
//  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;
}
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);
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].