Giter Site home page Giter Site logo

arduino's Introduction

ESP32-WROOM-32 CH340

Install additional drivers:

In Arduino IDE add custom bords source: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Connect as DOIT ESP32 DEVKIT V1

=======

To connect ST7789 w/o CS pin need to modify TFT_eSPI lib:

In ../libraries/TFT_eSPI/User_Setups/Setup24_ST7789.h:

uncomment this:

// Generic ESP32 setup
#define TFT_MISO -1 // Not connected
#define TFT_MOSI 23 // SDA pin
#define TFT_SCLK 18 // SCK pin
#define TFT_CS -1 // Not connected
#define TFT_DC 2 // DC pin
#define TFT_RST 4 // RES pin

comment this:

// For NodeMCU - use pin numbers in the form PIN_Dx where Dx is the NodeMCU pin
// designation
// #define TFT_CS   -1      // Define as not used
// #define TFT_DC   PIN_D1  // Data Command control pin
// #define TFT_RST  PIN_D4  // TFT reset pin (could connect to NodeMCU RST, see
// next line) #define TFT_RST  -1    // TFT reset pin connect to NodeMCU RST,
// must also then add 10K pull down to TFT SCK

In ../libraries/TFT_eSPI/User_Setup_Select.h:

Replace

// #include <User_Setup.h>           // Default setup is root library folder

with

#include <User_Setups/Setup24_ST7789.h> // Setup file for DSTIKE/ESP32/ESP8266 configured for ST7789 240 x 240

arduino's People

Contributors

yegorg avatar yegorgavrilov avatar

Watchers

 avatar

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.