{"id":28060163,"url":"https://github.com/androidcrypto/esp32_c3_st7789_starter","last_synced_at":"2025-05-12T08:39:25.194Z","repository":{"id":291740299,"uuid":"978614801","full_name":"AndroidCrypto/ESP32_C3_ST7789_Starter","owner":"AndroidCrypto","description":"Getting started with an ESP32-C3 Supermini device and a TFT display ST7789","archived":false,"fork":false,"pushed_at":"2025-05-06T09:06:35.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T10:27:02.159Z","etag":null,"topics":["esp32","esp32-c6","spi","st7789","tft-display"],"latest_commit_sha":null,"homepage":"https://medium.com/@androidcrypto/getting-started-with-an-esp32-c3-supermini-device-connected-to-an-st7789-tft-display-1fd02d828917","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndroidCrypto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-06T08:59:39.000Z","updated_at":"2025-05-06T09:53:52.000Z","dependencies_parsed_at":"2025-05-06T10:37:23.955Z","dependency_job_id":null,"html_url":"https://github.com/AndroidCrypto/ESP32_C3_ST7789_Starter","commit_stats":null,"previous_names":["androidcrypto/esp32_c3_st7789_starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_C3_ST7789_Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_C3_ST7789_Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_C3_ST7789_Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_C3_ST7789_Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndroidCrypto","download_url":"https://codeload.github.com/AndroidCrypto/ESP32_C3_ST7789_Starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253702915,"owners_count":21950044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp32","esp32-c6","spi","st7789","tft-display"],"created_at":"2025-05-12T08:39:22.664Z","updated_at":"2025-05-12T08:39:25.179Z","avatar_url":"https://github.com/AndroidCrypto.png","language":"C++","readme":"# ESP32-C3 Supermini with ST7789 TFT display Starter\n\nGetting started with an **ESP32-C3 Supermini** device and a TFT display with driver chip **ST7789**.\n\nThis is the accompanying repository for my article \"**Getting Started with an ESP32-C3 Supermini device connected to an ST7789 TFT display**\": https://medium.com/@androidcrypto/getting-started-with-an-esp32-c3-supermini-device-connected-to-an-st7789-tft-display-1fd02d828917.\n\nMy display is a 2.0 inch large TFT display with 240 x 320 pixels.\n\n## Settings for the display specific setup file\n\nI'm using a display specific setup file for the combination ESP32-C3 Supermini with TFT display driver ST7789.This file contains e.g. the display driver, size and pins for the ESP32-device. If your display has a different size please change the height and width accordingly. \n\n### Copy a file to the User_Setups folder\n\nPlease copy the file\n\n    Setup703_C3_SM_ST7789_240x320.h\n\nto the **User_Setups** folder.\n\n### Edit the User_Setup_Select.h file\n\nYou need to place the following line in the root folder's \"**User_Setup_Select.h**\" file\n\n    #include \u003cUser_Setups/Setup703_C3_SM_ST7789_240x320.h\u003e // ESP32-C3 Supermini, 40 MHz\n\nSecond: please comment all other \"#include...\" entries like this, especially the \"//#include \u003cUser_Setup.h\u003e\" entry.\n\n````\n// Example User_Setup files are stored in the \"User_Setups\" folder. These can be used\n// unmodified or adapted for a particular hardware configuration.\n#ifndef USER_SETUP_LOADED //  Lets PlatformIO users define settings in\n                          //  platformio.ini, see notes in \"Tools\" folder.\n///////////////////////////////////////////////////////\n//   User configuration selection lines are below    //\n///////////////////////////////////////////////////////\n// Only ONE line below should be uncommented to define your setup.  Add extra lines and files as needed.\n//#include \u003cUser_Setup.h\u003e                       // Default setup is root library folder\n// Setup file in folder Arduino/libraries (updates will not overwrite your setups)\n#include \u003cUser_Setups/Setup703_C3_SM_ST7789_240x320.h\u003e // ESP32-C3 Super Mini, 40 MHz\n````\n\n## GPIO pins setup in the display specific setup file\n\n```` plaintext\n// file Setup703_C3_SM_ST7789_240x320.h\n//#define TFT_BL 5  // LED back-light\n#define TFT_MISO 20 //  not used/connected\n#define TFT_MOSI 6  // = SDA\n#define TFT_SCLK 7\n#define TFT_CS   21 \n#define TFT_DC   10\n#define TFT_RST  9  // Set TFT_RST to -1 if display RESET is connected to ESP32 board EN\n\n## Important note\n\nYou need to modify the display library TFT_eSPI to get the code to work. Please find instructions on how to do this in my forked TFT_eSPI repository here on GitHub: [https://github.com/AndroidCrypto/TFT_eSPI](https://github.com/AndroidCrypto/TFT_eSPI).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidcrypto%2Fesp32_c3_st7789_starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroidcrypto%2Fesp32_c3_st7789_starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidcrypto%2Fesp32_c3_st7789_starter/lists"}