{"id":23299445,"url":"https://github.com/win10device/bad-apple-st7920","last_synced_at":"2026-04-28T08:03:36.586Z","repository":{"id":180263218,"uuid":"664859120","full_name":"win10Device/bad-apple-ST7920","owner":"win10Device","description":"Bad Apple on a 128x64 ST7920 LCD display, using Raspberry Pi","archived":false,"fork":false,"pushed_at":"2024-03-17T00:54:01.000Z","size":1774,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T20:46:46.215Z","etag":null,"topics":["bad-apple","c","raspberrypi","rpi4","rpi4b","st7920"],"latest_commit_sha":null,"homepage":"","language":"C","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/win10Device.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-10T23:14:57.000Z","updated_at":"2023-07-11T00:12:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"5facaebd-5fda-45d5-abb8-5ce35806c089","html_url":"https://github.com/win10Device/bad-apple-ST7920","commit_stats":null,"previous_names":["win10device/bad-apple-st920"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/win10Device/bad-apple-ST7920","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/win10Device%2Fbad-apple-ST7920","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/win10Device%2Fbad-apple-ST7920/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/win10Device%2Fbad-apple-ST7920/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/win10Device%2Fbad-apple-ST7920/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/win10Device","download_url":"https://codeload.github.com/win10Device/bad-apple-ST7920/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/win10Device%2Fbad-apple-ST7920/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32371673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bad-apple","c","raspberrypi","rpi4","rpi4b","st7920"],"created_at":"2024-12-20T08:17:13.170Z","updated_at":"2026-04-28T08:03:36.540Z","avatar_url":"https://github.com/win10Device.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bad Apple on a 128x64 ST7920 LCD display, using Raspberry Pi.\n[![Watch the video](https://img.youtube.com/vi/v_NnFB3Wwd8/default.jpg)](https://youtu.be/v_NnFB3Wwd8)\u003cbr\u003e\nThis project could be much more efficient, but this is a one off project, and I've gotten rusty with C\u003cbr\u003e\nYou'll need \u003ca href=\"https://github.com/antiprism/libu8g2arm/\"\u003elibu8g2arm\u003c/a\u003e already compiled on your Raspberry Pi,\u003cbr\u003e\nYou'll also need the g++ package, which can be installed with $ `sudo apt install g++`\u003cbr\u003e\nTo compile the project, be in the same directory as the bad apple files, $ `cc main.c -o program -l:libu8g2arm.a`,\nThen to run $ `./program`\n\u003chr\u003e\n\n\u003ch3\u003eWARNING!\u003c/h3\u003e\nDepending on which 128x64 LCD display you have, you'll have to shift 3.3V logic to 5V logic (Something like \u003ca href=\"https://www.sparkfun.com/products/12009\"\u003ethis\u003c/a\u003e), or it WILL destory your Raspberry Pi.\u003chr\u003e\n\u003ch3\u003eConnections\u003c/h3\u003e\n\n`GND - GND` LCD Power -\u003cbr\u003e\n`VCC - +5V` LCD Power +\u003cbr\u003e\u003cbr\u003e\n`E   - SCLK (GPIO 11)` \u003cb\u003eSerial Clock (See Warning)\u003c/b\u003e\u003cbr\u003e\n`R/W - MOSI (GPIO 10)` \u003cb\u003eMaster Out Slave In (See Warning)\u003c/b\u003e\u003cbr\u003e\n`RS(unconnected)` Read-Select (see note 1)\u003cbr\u003e\u003cbr\u003e\n`PSB - GND` Enables SPI mode on display\u003cbr\u003e\n`BLA - +5V` Blacklight +\u003cbr\u003e\n`BLK - GND` Blacklight -\u003cbr\u003e\u003cbr\u003e\nNote 1: `RS` is Chip Select in SPI mode on ST7920, but `CE0`/`CE1` are inverted to the spec of ST7920, So leave this disconnected or you'll have no display output\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwin10device%2Fbad-apple-st7920","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwin10device%2Fbad-apple-st7920","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwin10device%2Fbad-apple-st7920/lists"}