{"id":29526263,"url":"https://github.com/universalunknown/bitmap_examples","last_synced_at":"2025-10-13T17:39:32.046Z","repository":{"id":296704337,"uuid":"994204172","full_name":"UniversalUnknown/Bitmap_Examples","owner":"UniversalUnknown","description":"Ready-made bitmap examples on SSD1306 module for 128x64 pixels","archived":false,"fork":false,"pushed_at":"2025-06-01T16:31:39.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-01T22:14:14.371Z","etag":null,"topics":["bitmap-graphics","esp8266","ssd1306-oled"],"latest_commit_sha":null,"homepage":"","language":null,"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/UniversalUnknown.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,"zenodo":null}},"created_at":"2025-06-01T12:54:28.000Z","updated_at":"2025-06-01T16:49:46.000Z","dependencies_parsed_at":"2025-06-01T22:24:22.174Z","dependency_job_id":null,"html_url":"https://github.com/UniversalUnknown/Bitmap_Examples","commit_stats":null,"previous_names":["universalunknown/bitmap_examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UniversalUnknown/Bitmap_Examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalUnknown%2FBitmap_Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalUnknown%2FBitmap_Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalUnknown%2FBitmap_Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalUnknown%2FBitmap_Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UniversalUnknown","download_url":"https://codeload.github.com/UniversalUnknown/Bitmap_Examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalUnknown%2FBitmap_Examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016369,"owners_count":26085828,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":["bitmap-graphics","esp8266","ssd1306-oled"],"created_at":"2025-07-16T20:02:09.793Z","updated_at":"2025-10-13T17:39:32.040Z","avatar_url":"https://github.com/UniversalUnknown.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bitmap_Examples\n\u003ch3\u003e \u003cb\u003e A predefined repository of bitmap examples for a 128x64 pixel display using the ESP8266 with the SSD1306 module. \u003c/b\u003e \u003c/h3\u003e \u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"https://c.tenor.com/1qupgAaVsJgAAAAd/tenor.gif\" loop=infinite /\u003e\u003c/div\u003e\n\u003cbr /\u003e\n\n### Make use of this [link](https://lastminuteengineers.com/oled-display-esp8266-tutorial/#esp8266-example-code-3-dispaying-bitmap) for your code base or copy this\n\n```c\n#include \u003cSPI.h\u003e\n#include \u003cWire.h\u003e\n#include \u003cAdafruit_GFX.h\u003e\n#include \u003cAdafruit_SSD1306.h\u003e\n\n#define SCREEN_WIDTH 128  // OLED display width, in pixels\n#define SCREEN_HEIGHT 64  // OLED display height, in pixels\n\n// Declaration for SSD1306 display connected using I2C\n#define OLED_RESET -1  // Reset pin\n#define SCREEN_ADDRESS 0x3C\nAdafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, \u0026Wire, OLED_RESET);\n\n...\n//bitmap code here\n...\n\nconst int epd_bitmap_allArray_LEN = 1;\nconst unsigned char* epd_bitmap_allArray[1] = {\n\t\u003c\u003cmodule name here\u003e\u003e\n};\n\n\nvoid setup() {\n  Serial.begin(9600);\n\n  // initialize the OLED object\n  if (!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {\n    Serial.println(F(\"SSD1306 allocation failed\"));\n    for (;;)\n      ;\n  }\n\n  // Clear the buffer.\n  display.clearDisplay();\n  display.drawBitmap(32, 0, \u003c\u003cmodule name here\u003e\u003e , 64, 64, WHITE);\n  display.display();\n\n  // Invert Display\n  //display.invertDisplay(1);\n}\n\nvoid loop() {\n}\n```\n\u003cbr\u003e\n\nhere module name can be find from `copy from` directed folder.\n\n\u003cbr\u003e\n\nExample: image2.ino\n\n```arduino\nconst unsigned char epd_bitmap_image2 [] PROGMEM = {\n\t0xff, 0xff, 0xff,\n.....\n.....\n}\n```\n\n`epd_bitmap_image2` is the module name so copy it and append it in ``\u003c\u003cmodule name here\u003e\u003e ``, one right below bitmap code(that .ino file you copied) and another on second line of  `Clear the buffer` comment.\n\n\u003cbr /\u003e\n\n## Images and links :)\n\n ![k](https://github.com/user-attachments/assets/1cfd0cf5-580b-4212-acb2-9bffcfea5248)  \n \n \u003e image1 [source: r/pixelart](https://www.reddit.com/r/PixelArt/comments/fnamaf/7_colors_used_128x64_pxls_hope_you_like_it/?utm_source=share\u0026utm_medium=web3x\u0026utm_name=web3xcss\u0026utm_term=1\u0026utm_content=share_button)\n\n[copy from](examples/image1.ino)\n\n\u003cbr /\u003e\n\n![image2](https://github.com/user-attachments/assets/b669de43-ab6e-427b-a29d-c29da23d3a31)\n\n\u003e image2 [source: Deviantart](https://www.deviantart.com/suchanames/art/Skull-in-pixel-art-64X64-905035597)\n\n[copy from](examples/image2.ino)\n\n\u003cbr /\u003e\n\n![image3](https://github.com/user-attachments/assets/64e2f21b-db22-442b-948b-a28b307892ee)\n\n\u003e image3 [source: r/pixelart](https://www.reddit.com/r/PixelArt/comments/1ad48b4/nidoking_64x64/?utm_source=share\u0026utm_medium=web3x\u0026utm_name=web3xcss\u0026utm_term=1\u0026utm_content=share_button)\n\n[copy from](examples/image3.ino)\n\n\u003cbr /\u003e\n\n* A awesome skeleton gif [repository](https://github.com/sandhan26/Skeletor-animation-arduino.git), you can make use of [this](https://github.com/sandhan26/Skeletor-animation-arduino/tree/master/skeletor_v1) file for learning.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversalunknown%2Fbitmap_examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funiversalunknown%2Fbitmap_examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversalunknown%2Fbitmap_examples/lists"}