Introduction
============
.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ssd1325/badge/?version=latest
:target: https://docs.circuitpython.org/projects/ssd1325/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_SSD1325/workflows/Build%20CI/badge.svg
:target: https://github.com/adafruit/Adafruit_CircuitPython_SSD1325/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 grayscale OLEDs drive by SSD1325
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-ssd1325/>`_. To install for current user:
.. code-block:: shell
pip3 install adafruit-circuitpython-ssd1325
To install system-wide (this may be required in some cases):
.. code-block:: shell
sudo pip3 install adafruit-circuitpython-ssd1325
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-ssd1325
Usage Example
=============
.. code-block:: python
import time
import board
import busio
import displayio
import fourwire
import adafruit_ssd1325
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 = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset,
baudrate=1000000)
time.sleep(1)
display = adafruit_ssd1325.SSD1325(display_bus, width=128, height=64)
Documentation
=============
API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/ssd1325/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_SSD1325/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.
Raw data
{
"_id": null,
"home_page": "",
"name": "adafruit-circuitpython-ssd1325",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "adafruit,blinka,circuitpython,micropython,ssd1325,oled,grayscale,displayio",
"author": "",
"author_email": "Adafruit Industries <circuitpython@adafruit.com>",
"download_url": "https://files.pythonhosted.org/packages/e7/d6/24f0d19dd608b29aa47a2b90cab2b8912e3cf075eb0f56cdf132ec65edb4/adafruit-circuitpython-ssd1325-1.5.1.tar.gz",
"platform": null,
"description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ssd1325/badge/?version=latest\n :target: https://docs.circuitpython.org/projects/ssd1325/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_SSD1325/workflows/Build%20CI/badge.svg\n :target: https://github.com/adafruit/Adafruit_CircuitPython_SSD1325/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 grayscale OLEDs drive by SSD1325\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-ssd1325/>`_. To install for current user:\n\n.. code-block:: shell\n\n pip3 install adafruit-circuitpython-ssd1325\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-ssd1325\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-ssd1325\n\nUsage Example\n=============\n\n.. code-block:: python\n\n import time\n import board\n import busio\n import displayio\n import fourwire\n import adafruit_ssd1325\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 = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset,\n baudrate=1000000)\n time.sleep(1)\n display = adafruit_ssd1325.SSD1325(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/ssd1325/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_SSD1325/blob/main/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "DisplayIO driver for grayscale OLEDs drive by SSD1325",
"version": "1.5.1",
"project_urls": {
"Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_SSD1325"
},
"split_keywords": [
"adafruit",
"blinka",
"circuitpython",
"micropython",
"ssd1325",
"oled",
"grayscale",
"displayio"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "036acbe578ff8da4d25a48df06f9eb6aef0afc1ae1d5d9bdb97bd23ba7da4ccd",
"md5": "6e1130f10dfe8789c5ec59d9ebf70ab4",
"sha256": "2a81ea528ab30c08b03f4d77504a92101e44f71c3a33a816f7d5b2436376fdd6"
},
"downloads": -1,
"filename": "adafruit_circuitpython_ssd1325-1.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6e1130f10dfe8789c5ec59d9ebf70ab4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4813,
"upload_time": "2023-12-09T17:34:37",
"upload_time_iso_8601": "2023-12-09T17:34:37.289816Z",
"url": "https://files.pythonhosted.org/packages/03/6a/cbe578ff8da4d25a48df06f9eb6aef0afc1ae1d5d9bdb97bd23ba7da4ccd/adafruit_circuitpython_ssd1325-1.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e7d624f0d19dd608b29aa47a2b90cab2b8912e3cf075eb0f56cdf132ec65edb4",
"md5": "2a59c54c35f79d18955dd8bcfeabda50",
"sha256": "cf570ce0013dc243b782b59c7b237842b7dd4e73d1cb92264acde336aabca405"
},
"downloads": -1,
"filename": "adafruit-circuitpython-ssd1325-1.5.1.tar.gz",
"has_sig": false,
"md5_digest": "2a59c54c35f79d18955dd8bcfeabda50",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 26596,
"upload_time": "2023-12-09T17:34:38",
"upload_time_iso_8601": "2023-12-09T17:34:38.367748Z",
"url": "https://files.pythonhosted.org/packages/e7/d6/24f0d19dd608b29aa47a2b90cab2b8912e3cf075eb0f56cdf132ec65edb4/adafruit-circuitpython-ssd1325-1.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-09 17:34:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "adafruit",
"github_project": "Adafruit_CircuitPython_SSD1325",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "adafruit-circuitpython-ssd1325"
}