Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-hull committed Jan 19, 2020
1 parent 7864bbc commit a791b2d
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ChangeLog
+------------+---------------------------------------------------------------------+------------+
| Version | Description | Date |
+============+=====================================================================+============+
| **3.4.0** | * Add support for SSD1362 256x64 Greyscale OLED | TBC |
+------------+---------------------------------------------------------------------+------------+
| **3.3.0** | * Namespace fix | 2019/06/19 |
+------------+---------------------------------------------------------------------+------------+
| **3.2.1** | * Fix bug where SSD1325 ``framebuffer=diff_to_prev`` didn't set | 2019/04/30 |
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ luma.oled

Luma.OLED
---------
**Display drivers for SSD1306 / SSD1309 / SSD1322 / SSD1325 / SSD1327 / SSD1331 / SSD1351 / SH1106**
**Display drivers for SSD1306 / SSD1309 / SSD1322 / SSD1325 / SSD1327 / SSD1331 / SSD1351 / SSH1362 / SH1106**

.. image:: https://travis-ci.org/rm-hull/luma.oled.svg?branch=master
:target: https://travis-ci.org/rm-hull/luma.oled
Expand Down
6 changes: 3 additions & 3 deletions doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Luma.OLED: Display drivers for SSD1306 / SSD1309 / SSD1322 / SSD1325 / SSD1327 / SSD1331 / SSD1351 / SH1106
===========================================================================================================
Luma.OLED: Display drivers for SSD1306 / SSD1309 / SSD1322 / SSD1325 / SSD1327 / SSD1331 / SSD1351 / SSD1362 / SH1106
=====================================================================================================================
.. image:: https://travis-ci.org/rm-hull/luma.oled.svg?branch=master
:target: https://travis-ci.org/rm-hull/luma.oled

.. image:: https://coveralls.io/repos/github/rm-hull/luma.oled/badge.svg?branch=master
:target: https://coveralls.io/github/rm-hull/luma.oled?branch=master

.. image:: https://img.shields.io/maintenance/yes/2019.svg?maxAge=2592000
.. image:: https://img.shields.io/maintenance/yes/2020.svg?maxAge=2592000

.. image:: https://img.shields.io/pypi/pyversions/luma.oled.svg
:target: https://pypi.python.org/pypi/luma.oled
Expand Down
3 changes: 2 additions & 1 deletion doc/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Introduction
------------
Interfacing `OLED matrix displays
<https://github.com/rm-hull/luma.oled/wiki/Usage-&-Benchmarking>`_ with the
SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1331, SSD1351 or SH1106 driver
SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1331, SSD1351, SSD1362 or SH1106 driver
in Python 2 or 3 using I2C/SPI on the Raspberry Pi and other linux-based
single-board computers: the library provides a Pillow_-compatible drawing
canvas, and other functionality to support:
Expand Down Expand Up @@ -33,6 +33,7 @@ and will fit neatly inside the RPi case.
- :download:`SSD1327 <tech-spec/SSD1327.pdf>`
- :download:`SSD1331 <tech-spec/SSD1331.pdf>`
- :download:`SSD1351 <tech-spec/SSD1351.pdf>`
- :download:`SSD1362 <tech-spec/SSD1362.pdf>`
- :download:`SH1106 <tech-spec/SH1106.pdf>`

Benchmarks for tested devices can be found in the
Expand Down
6 changes: 3 additions & 3 deletions doc/python-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ to a dithered monochrome effect (see the *3d_box.py* example, below).
There is no such constraint on the SSD1331 or SSD1351 OLEDs, which features
16-bit RGB colors: 24-bit RGB images are downsized to 16-bit using a 565 scheme.

The SSD1322 and SSD1325 OLEDs both support 16 greyscale graduations: 24-bit RGB
images are downsized to 4-bit using a Luma conversion which is approximately
calculated as follows:
The SSD1322, SSD1325 and SSD1362 OLEDs all support 16 greyscale graduations:
24-bit RGB images are downsized to 4-bit using a Luma conversion which is
approximately calculated as follows:

.. code::
Expand Down
2 changes: 1 addition & 1 deletion luma/oled/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

"""
OLED display driver for SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1331,
SSD1351 and SH1106 devices.
SSD1351, SSD1362 and SH1106 devices.
"""

__version__ = '3.3.0'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def find_version(*file_paths):
author_email="richard.hull@destructuring-bind.org",
description=("A small library to drive an OLED device with either "
"SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1331, "
"SSD1351 or SH1106 chipset"),
"SSD1351, SSD1362 or SH1106 chipset"),
long_description="\n\n".join([README, CONTRIB, CHANGES]),
long_description_content_type="text/x-rst",
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
Expand Down

0 comments on commit a791b2d

Please sign in to comment.