{"id":22920940,"url":"https://github.com/michaelkamprath/epaperdriverlib","last_synced_at":"2025-07-25T13:14:38.241Z","repository":{"id":61630147,"uuid":"195281250","full_name":"michaelkamprath/ePaperDriverLib","owner":"michaelkamprath","description":"An unofficial Arduino library for various ePaper devices","archived":false,"fork":false,"pushed_at":"2020-08-23T03:03:18.000Z","size":133,"stargazers_count":13,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T20:54:07.846Z","etag":null,"topics":["arduino-library","epaper","epaper-devices","epaper-displays"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelkamprath.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}},"created_at":"2019-07-04T17:40:24.000Z","updated_at":"2024-10-23T13:05:16.000Z","dependencies_parsed_at":"2022-10-19T19:00:51.221Z","dependency_job_id":null,"html_url":"https://github.com/michaelkamprath/ePaperDriverLib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michaelkamprath/ePaperDriverLib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelkamprath%2FePaperDriverLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelkamprath%2FePaperDriverLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelkamprath%2FePaperDriverLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelkamprath%2FePaperDriverLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelkamprath","download_url":"https://codeload.github.com/michaelkamprath/ePaperDriverLib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelkamprath%2FePaperDriverLib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267011351,"owners_count":24020964,"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-07-25T02:00:09.625Z","response_time":70,"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":["arduino-library","epaper","epaper-devices","epaper-displays"],"created_at":"2024-12-14T07:17:41.075Z","updated_at":"2025-07-25T13:14:38.218Z","avatar_url":"https://github.com/michaelkamprath.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ePaper Driver Lib\nAn unofficial Arduino library for ePaper displays from various manufacturers and distributers. This library implements the Adafruit GFX interface, providing the Arduino community a familiar API for manipulating the pixels on the screen.  This library is currently designed to only support SPI communications with the ePaper device. The goal of this library is to keep simple all aspects of using the ePaper device. ePaper devices are conceptually simple, your code to use them should not look complicated.\n\nThis library supports the following colors in the GFX:\n\n* `ePaper_WHITE` - Sets the pixel white\n* `ePaper_BLACK` - Sets the pixel black\n* `ePaper_COLOR` - If the ePaper device supports a third color (e.g., red), sets the pixel to that color.\n* `ePaper_INVERSE1` - If the pixel is currently white, set it black, and vice versa. If the pixel is currently the device's third color, set it white.\n* `ePaper_INVERSE2` - If the pixel is currently white, set it black. If it is black, set it to the device's third color (or white if B\u0026W). If the pixel is currently the device's third color, set it black.\n* `ePaper_INVERSE3` - If the pixel is currently white, set it to the device's third color (or black if B\u0026W). If it is black, set it white. If the pixel is currently the device's third color, set it black.\n\nThese color constants are defined in the `ePaperDriver.h` header.\n\nTo initialize an ePaper device object, you simply declare it and call `initializeDevice()` as follows:\n```\nePaperDisplay\tdevice(\n\t\tCFAP176264A0_0270,\t// device constant indicating what model it is\n\t\tD1,\t\t// microtroller pin connected to display's BUSY pin\n\t\tD2,\t\t// microtroller pin connected to display's RST pin\n\t\tD3,\t\t// microtroller pin connected to display's D/C pin\n\t\tD8\t\t// microtroller pin connected to display's CS pin\n\t);\ndevice.initializeDevice();\n```\nHere, ESP8266 pin naming is used. Change as you need. The rest of the ePaper device pins are SPI and power. Connect to your microcontroller as appropriate. \n\n## Supported Models\n\n* Crystalfontz\n    * **[CFAP104212E0-0213](https://www.crystalfontz.com/product/cfap104212e00213-yellow-black-white-epaper-display)** - 2.13 inch 3-color ePaper display - yellow\n    * **[CFAP104212C0-0213](https://www.crystalfontz.com/product/cfap104212c00213-epaper-eink-color-display)** - 2.13 inch 3-color ePaper display - red\n    * **[CFAP176264A0-0270](https://www.crystalfontz.com/product/cfap176264a00270-3-color-epaper-display)** - 2.7 inch 3-color ePaper display\n    * **[CFAP400300C0-0420](https://www.crystalfontz.com/product/cfap400300c00420-400x300-3-color-epaper-display)** - 4.2\" 3-Color ePaper Display - yellow\n    * **[CFAP400300A0-0420](https://www.crystalfontz.com/product/cfap400300a00420-3-color-4-inch-epaper-display)** - 4.2\" 3-Color ePaper Display - red\n\n## Requirements\nThe following Arduino libraries are required to make this library work: \n\n* [Adafruit GFX Library](https://github.com/adafruit/Adafruit-GFX-Library) - Learn more how to use GFX [here](https://learn.adafruit.com/adafruit-gfx-graphics-library/).\n\nThis library uses a RAM buffer to manage the screen image. As such, this library can be a RAM hog for larger ePaper displays. The amount of ram needed can be calculated by multiple the device's dimensions and then dividing by 8. If the device has a third color, double the RAM needs. For example, the Crystalfontz `CFAP176264A0-0270` device has the pixel dimensions of 176 by 264, and it has three colors. This means it's RAM buffer will need 11,616 bytes. Ensure that you are using a microcontroller that can handle the RAM needs of your board. An excellent microcontroller board choice would be [the Teensy 3.2](https://www.pjrc.com/store/teensy32.html), as it has 64K of RAM and operates at 3.3V (similar to ePaper devices). This is adequate to drive the 7.5 inch 640x384 B\u0026W ePaper device. \n\n# Disclaimer \n\nThis project and its creators are not associated with any ePaper manufacturer or Adafruit, nor is this project officially endorsed or reviewed for correctness by any ePaper manufacturer. This project is an open source effort by the community to make a usable library for ePaper displays.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelkamprath%2Fepaperdriverlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelkamprath%2Fepaperdriverlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelkamprath%2Fepaperdriverlib/lists"}