{"id":15718256,"url":"https://github.com/sajattack/st7735-lcd-examples","last_synced_at":"2025-05-05T21:45:54.629Z","repository":{"id":45394867,"uuid":"240952356","full_name":"sajattack/st7735-lcd-examples","owner":"sajattack","description":"Usage examples for the st7735-lcd Rust crate","archived":false,"fork":false,"pushed_at":"2024-05-09T02:39:13.000Z","size":192,"stargazers_count":17,"open_issues_count":2,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T00:47:59.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/sajattack.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}},"created_at":"2020-02-16T19:30:01.000Z","updated_at":"2025-04-12T08:28:27.000Z","dependencies_parsed_at":"2022-08-03T00:30:44.764Z","dependency_job_id":"53f733fa-d598-4438-b1fc-673bb0c5ff2d","html_url":"https://github.com/sajattack/st7735-lcd-examples","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/sajattack%2Fst7735-lcd-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fst7735-lcd-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fst7735-lcd-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fst7735-lcd-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sajattack","download_url":"https://codeload.github.com/sajattack/st7735-lcd-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252582364,"owners_count":21771647,"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":[],"created_at":"2024-10-03T21:52:35.119Z","updated_at":"2025-05-05T21:45:54.607Z","avatar_url":"https://github.com/sajattack.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# st7735-lcd-examples\n\nUsage examples for the st7735-lcd Rust crate\n\n## Building\n\n### Metro M4\n\n```sh\ncd metro-m4-examples\ncargo build --release --examples --target=thumbv7em-none-eabihf\n```\n\n### STM32F103 Blue Pill\n\n```sh\ncd blue-pill-examples\ncargo build --release --examples --target=thumbv7m-none-eabi\n```\n\n### STM32F411CE Black Pill\n\nBuild with:\n\n```sh\ncd black-pill-examples\ncargo build --release --example draw_ferris\n```\n\ncreate a bin file and flash in DFU-Mode. To get to the DFU-Mode hold the BOOT0 button while pressing the NRST button. To flash use:\n\n```sh\ncd black-pill-examples\ncargo objcopy  --release --example draw_ferris -- -O binary draw_ferris.bin\nsudo dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D draw_ferris.bin\n```\n\n### Nucleo F411RE\n\n```sh\ncd nucleo-411re-examples\ncargo build --release --examples --target=thumbv7em-none-eabihf\n```\n\n### Raspberry Pi Pico\n\n```sh\ncd rp2040-examples\ncargo build --release --example draw_ferris\n```\n\n### M5Stamp C3U Mate\n\n```sh\ncd esp32c3-examples\ncargo build --release --example draw_ferris\n```\n\n## Wiring\n\n### Metro M4\n\n| ST7735 Pin | Metro M4 Pin       |\n| ---------- | ------------------ |\n| GND        | GND                |\n| VCC        | 5V                 |\n| SCL/SCK    | SCK (see picture)  |\n| SDA/MOSI   | MOSI (see picture) |\n| RES/RST    | D1                 |\n| DC         | D0                 |\n| CS         | D2 or GND          |\n| BLK        | Not connected      |\n\n\u003cimg src=\"https://cdn-learn.adafruit.com/assets/assets/000/069/241/medium640/adafruit_products_Grand_Central_SPI_Header_Pinout.jpg?1547248943\" width=\"200\"/\u003e\n\n### Blue Pill\n\n| ST7735 Pin | Blue Pill Pin |\n| ---------- | ------------- |\n| GND        | G             |\n| VCC        | 5V            |\n| SCL/SCK    | A5            |\n| SDA/MOSI   | A7            |\n| RES/RST    | B1            |\n| DC         | B0            |\n| CS         | G             |\n| BLK        | Not connected |\n\n### Black Pill\n\n![Black Pill connections](black-pill-examples/img/blackpill-fritzing.png)\n\n| ST7735 Pin   | Black Pill Pin |\n| ------------ | -------------- |\n| GND          | G              |\n| VCC          | 5V             |\n| SCL/SCK      | A5             |\n| SDA/MOSI/DIN | A7             |\n| RES/RST      | B1             |\n| DC           | B0             |\n| CS           | G or PA4       |\n| BL           | 3V3            |\n\n### Nucleo F411RE\n\n| ST7735 Pin | Nucleo F411RE Pin |\n| ---------- | ----------------- |\n| GND        | GND               |\n| VCC        | 5V                |\n| SCL/SCK    | SCK/D13           |\n| SDA/MOSI   | PWM/MOSI/D11      |\n| RES/RST    | A1                |\n| DC         | A0                |\n| CS         | GND               |\n| BLK        | Not connected     |\n\n### Raspberry Pi Pico\n\n| ST7735 Pin | Raspberry Pi Pico Pin |\n| ---------- | --------------------- |\n| GND        | GND                   |\n| VCC        | 5V                    |\n| SCL/SCK    | gpio6                 |\n| SDA/MOSI   | gpio7                 |\n| RES/RST    | gpio14                |\n| DC         | gpio13                |\n| CS         | GND                   |\n| LED        | gpio12                |\n\n### M5Stamp C3U\n\n| ST7735R Pin | M5Stamp C3U Pin |\n| ----------- | --------------- |\n| GND         | GND             |\n| 3V3         | 3V3             |\n| SCL/SCK     | gpio8           |\n| SDA/MOSI/SI | gpio10          |\n| RES/RST     | gpio3           |\n| DC          | gpio4           |\n| TCS/CS      | GND             |\n| LED         | Not connected   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajattack%2Fst7735-lcd-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsajattack%2Fst7735-lcd-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajattack%2Fst7735-lcd-examples/lists"}