adafruit-circuitpython-displayio-ssd1306


Nameadafruit-circuitpython-displayio-ssd1306 JSON
Version 2.0.1 PyPI version JSON
download
home_pageNone
SummaryDisplayIO driver for SSD1306 monochrome displays
upload_time2024-04-01 13:53:27
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseMIT
keywords adafruit blinka circuitpython micropython displayio_ssd1306 displayio ssd1306 oled
VCS
bugtrack_url
requirements Adafruit-Blinka Adafruit-Blinka-Displayio
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

.. image:: https://readthedocs.org/projects/adafruit-circuitpython-displayio-ssd1306/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/displayio_ssd1306/en/latest/
    :alt: Documentation Status

.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
    :target: https://adafru.it/discord
    :alt: Discord

.. image:: https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306/actions/
    :alt: Build Status

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code Style: Black

DisplayIO driver for SSD1306 monochrome displays. DisplayIO drivers enable terminal output

For the framebuf based driver see
`Adafruit CircuitPython SSD1306 <https://github.com/adafruit/Adafruit_CircuitPython_SSD1306/>`_.


Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.

Installing from PyPI
=====================

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/adafruit-circuitpython-displayio-ssd1306/>`_. To install for current user:

.. code-block:: shell

    pip3 install adafruit-circuitpython-displayio-ssd1306

To install system-wide (this may be required in some cases):

.. code-block:: shell

    sudo pip3 install adafruit-circuitpython-displayio-ssd1306

To install in a virtual environment in your current project:

.. code-block:: shell

    mkdir project-name && cd project-name
    python3 -m venv .venv
    source .venv/bin/activate
    pip3 install adafruit-circuitpython-displayio-ssd1306

Usage Example
=============

.. code-block:: python

    import board
    import displayio
    import adafruit_displayio_ssd1306
    import busio

    displayio.release_displays()

    # This pinout works on a Metro and may need to be altered for other boards.
    spi = busio.SPI(board.SCL, board.SDA)
    tft_cs = board.D9
    tft_dc = board.D8
    tft_reset = board.D7

    display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset, baudrate=1000000)
    display = adafruit_displayio_ssd1306.SSD1306(display_bus, width=128, height=64)

Documentation
=============

API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/displayio_ssd1306/en/latest/>`_.

For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "adafruit-circuitpython-displayio-ssd1306",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "adafruit, blinka, circuitpython, micropython, displayio_ssd1306, displayio, ssd1306, oled",
    "author": null,
    "author_email": "Adafruit Industries <circuitpython@adafruit.com>",
    "download_url": "https://files.pythonhosted.org/packages/77/99/16a6086ef26161c8876e0ebe256ef53b9486d709205c17b45498420fa1cc/adafruit-circuitpython-displayio-ssd1306-2.0.1.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-displayio-ssd1306/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/displayio_ssd1306/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_DisplayIO_SSD1306/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306/actions/\n    :alt: Build Status\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code Style: Black\n\nDisplayIO driver for SSD1306 monochrome displays. DisplayIO drivers enable terminal output\n\nFor the framebuf based driver see\n`Adafruit CircuitPython SSD1306 <https://github.com/adafruit/Adafruit_CircuitPython_SSD1306/>`_.\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.\n\nInstalling from PyPI\n=====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI <https://pypi.org/project/adafruit-circuitpython-displayio-ssd1306/>`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install adafruit-circuitpython-displayio-ssd1306\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install adafruit-circuitpython-displayio-ssd1306\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name && cd project-name\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip3 install adafruit-circuitpython-displayio-ssd1306\n\nUsage Example\n=============\n\n.. code-block:: python\n\n    import board\n    import displayio\n    import adafruit_displayio_ssd1306\n    import busio\n\n    displayio.release_displays()\n\n    # This pinout works on a Metro and may need to be altered for other boards.\n    spi = busio.SPI(board.SCL, board.SDA)\n    tft_cs = board.D9\n    tft_dc = board.D8\n    tft_reset = board.D7\n\n    display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset, baudrate=1000000)\n    display = adafruit_displayio_ssd1306.SSD1306(display_bus, width=128, height=64)\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/displayio_ssd1306/en/latest/>`_.\n\nFor information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306/blob/main/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "DisplayIO driver for SSD1306 monochrome displays",
    "version": "2.0.1",
    "project_urls": {
        "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306"
    },
    "split_keywords": [
        "adafruit",
        " blinka",
        " circuitpython",
        " micropython",
        " displayio_ssd1306",
        " displayio",
        " ssd1306",
        " oled"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "061f84adab03c9760ed2cedd44344a9b98498c76177fb9b873b70c27a91767d5",
                "md5": "8ab72e56b01ae75c9f9d116fa4d2d657",
                "sha256": "b29b6c05e82991a9d5ed8c96cc52f313b63b8f81163d89baccd8b9999e218241"
            },
            "downloads": -1,
            "filename": "adafruit_circuitpython_displayio_ssd1306-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8ab72e56b01ae75c9f9d116fa4d2d657",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5729,
            "upload_time": "2024-04-01T13:53:26",
            "upload_time_iso_8601": "2024-04-01T13:53:26.651182Z",
            "url": "https://files.pythonhosted.org/packages/06/1f/84adab03c9760ed2cedd44344a9b98498c76177fb9b873b70c27a91767d5/adafruit_circuitpython_displayio_ssd1306-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "779916a6086ef26161c8876e0ebe256ef53b9486d709205c17b45498420fa1cc",
                "md5": "81ba0e6756cc4aedd3ac93ad8ce711c9",
                "sha256": "dc5bf9383597ad55cd46dfde6cd30153e0ff51b86b9ab7c76fabdf8326c50ec5"
            },
            "downloads": -1,
            "filename": "adafruit-circuitpython-displayio-ssd1306-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "81ba0e6756cc4aedd3ac93ad8ce711c9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 28893,
            "upload_time": "2024-04-01T13:53:27",
            "upload_time_iso_8601": "2024-04-01T13:53:27.817301Z",
            "url": "https://files.pythonhosted.org/packages/77/99/16a6086ef26161c8876e0ebe256ef53b9486d709205c17b45498420fa1cc/adafruit-circuitpython-displayio-ssd1306-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-01 13:53:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adafruit",
    "github_project": "Adafruit_CircuitPython_DisplayIO_SSD1306",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "Adafruit-Blinka",
            "specs": []
        },
        {
            "name": "Adafruit-Blinka-Displayio",
            "specs": []
        }
    ],
    "lcname": "adafruit-circuitpython-displayio-ssd1306"
}
        
Elapsed time: 0.25589s