{"id":13613233,"url":"https://github.com/boochow/MicroPython-ST7735","last_synced_at":"2025-04-13T15:32:47.093Z","repository":{"id":37664891,"uuid":"109461257","full_name":"boochow/MicroPython-ST7735","owner":"boochow","description":"ST7735 TFT LCD driver for MicroPython","archived":false,"fork":false,"pushed_at":"2022-12-30T04:09:19.000Z","size":78,"stargazers_count":228,"open_issues_count":6,"forks_count":66,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-10T05:04:45.550Z","etag":null,"topics":["micropython","micropython-esp32"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boochow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-04T02:40:26.000Z","updated_at":"2025-04-02T21:32:44.000Z","dependencies_parsed_at":"2023-01-31T10:31:08.149Z","dependency_job_id":null,"html_url":"https://github.com/boochow/MicroPython-ST7735","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boochow%2FMicroPython-ST7735","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boochow%2FMicroPython-ST7735/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boochow%2FMicroPython-ST7735/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boochow%2FMicroPython-ST7735/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boochow","download_url":"https://codeload.github.com/boochow/MicroPython-ST7735/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248736013,"owners_count":21153520,"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":["micropython","micropython-esp32"],"created_at":"2024-08-01T20:00:42.178Z","updated_at":"2025-04-13T15:32:46.842Z","avatar_url":"https://github.com/boochow.png","language":"Python","readme":"# MicroPython-ST7735\n\nThis is a modified version of [GuyCarver's ST7735.py](https://github.com/GuyCarver/MicroPython/blob/master/lib/ST7735.py) ST7735 TFT LCD driver for MicroPython.\n\nA font file is necessary for displaying text (some font files are in [GuyCarver's repo](https://github.com/GuyCarver/MicroPython/tree/master/lib)).\n\nText nowrap option added(default: nowrap=False).\n\n`graphicstest.py` is a sample code. I wrote this to make it similar to [Adafruit's graphicstest sketch for Arduino](https://github.com/adafruit/Adafruit-ST7735-Library/tree/master/examples/graphicstest). \n\nIf `graphicstest.py` doesn't work correctly, try replaceing `initr()` at line 8 to `initg()` or `initb()` or `initb2()`. You can also change `rgb(True)` to `rgb(False)` to switch red and blue pixels if your LCD module shows incorrect colors.\n\nPin connections for ESP32:\n\nLCD |ESP32-DevKitC\n----|----\nVLED|3V3\nRST |IO17\nA0  |IO16(DC)\nSDA |IO13(MOSI)\nSCK |IO14(CLK)\nVCC |3V3\nCS  |IO18\nGND |GND\n\n[![YouTube image here](https://img.youtube.com/vi/xIy8DPBZsIk/0.jpg)](https://www.youtube.com/watch?v=xIy8DPBZsIk)\n\n`tftbmp.py` is another sample similar to [Adafruit's tftbmp sketch for Arduino](https://github.com/adafruit/Adafruit-ST7735-Library/blob/master/examples/spitftbitmap/spitftbitmap.ino).\n\nPlace bmp file named `test128x160.bmp` in the file system of MicroPython using file uploading tool such as [ampy](https://github.com/adafruit/ampy), etc.\n\n`offscreen-buffer.py` shows how you can use an offscreen frame buffer which is an instance of FrameBuffer class. I tested this on Raspberry Pi Pico. See https://github.com/boochow/MicroPython-ST7735/issues/9 for the pin connections.","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Display","显示类"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboochow%2FMicroPython-ST7735","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboochow%2FMicroPython-ST7735","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboochow%2FMicroPython-ST7735/lists"}