{"id":15201514,"url":"https://github.com/adafruit/adafruit_circuitpython_il0398","last_synced_at":"2025-10-19T17:31:38.799Z","repository":{"id":48677825,"uuid":"203483104","full_name":"adafruit/Adafruit_CircuitPython_IL0398","owner":"adafruit","description":"CircuitPython displayio drivers for IL0398 based ePaper displays","archived":false,"fork":false,"pushed_at":"2025-01-16T18:54:18.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":8,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-01-28T22:37:32.894Z","etag":null,"topics":["circuitpython","displayio","epaper","epd","hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/adafruit.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-08-21T01:36:49.000Z","updated_at":"2025-01-16T15:12:09.000Z","dependencies_parsed_at":"2024-09-24T03:01:37.920Z","dependency_job_id":"1c082ece-d426-464b-a681-f85fe7f98706","html_url":"https://github.com/adafruit/Adafruit_CircuitPython_IL0398","commit_stats":{"total_commits":65,"total_committers":13,"mean_commits":5.0,"dds":0.6923076923076923,"last_synced_commit":"1bde7daaca10c2c105d83fc37d1cf75222729d31"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_IL0398","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_IL0398/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_IL0398/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_IL0398/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adafruit","download_url":"https://codeload.github.com/adafruit/Adafruit_CircuitPython_IL0398/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237181546,"owners_count":19268055,"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":["circuitpython","displayio","epaper","epd","hacktoberfest"],"created_at":"2024-09-28T03:04:50.653Z","updated_at":"2025-10-19T17:31:38.790Z","avatar_url":"https://github.com/adafruit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-il0398/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/il0398/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_IL0398/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_IL0398/actions\n    :alt: Build Status\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Code Style: Ruff\n\nCircuitPython displayio drivers for IL0398 driven e-paper displays\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\u003e`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle \u003chttps://github.com/adafruit/Adafruit_CircuitPython_Bundle\u003e`_.\n\nInstalling from PyPI\n=====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI \u003chttps://pypi.org/project/adafruit-circuitpython-il0398/\u003e`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install adafruit-circuitpython-il0398\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install adafruit-circuitpython-il0398\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name \u0026\u0026 cd project-name\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip3 install adafruit-circuitpython-il0398\n\nUsage Example\n=============\n\n.. code-block:: python\n\n    \"\"\"Simple test script for 4.2\" 400x300 black and white displays.\n\n    Supported products:\n      * WaveShare 4.2\" Black and White\n        * https://www.waveshare.com/product/modules/oleds-lcds/e-paper/4.2inch-e-paper.htm\n        * https://www.waveshare.com/product/modules/oleds-lcds/e-paper/4.2inch-e-paper-module.htm\n      \"\"\"\n\n    import time\n    import board\n    import displayio\n    import fourwire\n    import adafruit_il0398\n\n    displayio.release_displays()\n\n    # This pinout works on a Feather M4 and may need to be altered for other boards.\n    spi = board.SPI() # Uses SCK and MOSI\n    epd_cs = board.D9\n    epd_dc = board.D10\n    epd_reset = board.D5\n    epd_busy = board.D6\n\n    display_bus = fourwire.FourWire(spi, command=epd_dc, chip_select=epd_cs, reset=epd_reset,\n                                     baudrate=1000000)\n    time.sleep(1)\n\n    display = adafruit_il0398.IL0398(display_bus, width=400, height=300, seconds_per_frame=20,\n                                     busy_pin=epd_busy)\n\n    g = displayio.Group()\n\n    pic = displayio.OnDiskBitmap(\"/display-ruler.bmp\")\n    t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)\n    g.append(t)\n\n    display.root_group = g\n\n    display.refresh()\n\n    time.sleep(120)\n\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs \u003chttps://docs.circuitpython.org/projects/il0398/en/latest/\u003e`_.\n\nFor information on building library documentation, please check out `this guide \u003chttps://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1\u003e`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n\u003chttps://github.com/adafruit/Adafruit_CircuitPython_IL0398/blob/main/CODE_OF_CONDUCT.md\u003e`_\nbefore contributing to help this project stay welcoming.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_il0398","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_il0398","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_il0398/lists"}