Skip to content

Commit df023a5

Browse files
committedMar 22, 2018
Prep for v1.2.1
1 parent bb2dd55 commit df023a5

File tree

8 files changed

+143
-4
lines changed

8 files changed

+143
-4
lines changed
 

‎library/CHANGELOG.txt

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
1.2.1
2+
-----
3+
4+
* New: Exposed set_gamma method for user gamma correction
5+
* Improvement: Removed web API import to prevent hard dependency on Flask
6+
* Improvement: Many improvements to the HTTP API including autoscroll
7+
* Optimisation: write_string will calculate string size and grow buffer once to fit
8+
* Optimisation: set_graph will grow buffer to fit the graph
9+
* Bugfix: Fixed ASCII font to place accented characters at correct codepoints
10+
111
1.2.0
212
-----
313

‎library/MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
include CHANGELOG.txt
22
include LICENSE.txt
3-
include README.txt
3+
include README.rst
44
include setup.py
55
recursive-include scrollphathd *.py

‎library/README.rst

+107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
|Scroll pHAT HD| https://shop.pimoroni.com/products/scroll-phat-hd
2+
3+
17x7 pixels of single-colour, brightness-controlled, message scrolling
4+
goodness!
5+
6+
Installing
7+
----------
8+
9+
Full install (recommended):
10+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
11+
12+
We've created an easy installation script that will install all
13+
pre-requisites and get your Scroll pHAT HD up and running with minimal
14+
efforts. To run it, fire up Terminal which you'll find in Menu ->
15+
Accessories -> Terminal on your Raspberry Pi desktop, as illustrated
16+
below:
17+
18+
.. figure:: http://get.pimoroni.com/resources/github-repo-terminal.png
19+
:alt: Finding the terminal
20+
21+
In the new terminal window type the command exactly as it appears below
22+
(check for typos) and follow the on-screen instructions:
23+
24+
.. code:: bash
25+
26+
curl https://get.pimoroni.com/scrollphathd | bash
27+
28+
Alternatively, on Raspbian, you can download the ``pimoroni-dashboard``
29+
and install your product by browsing to the relevant entry:
30+
31+
.. code:: bash
32+
33+
sudo apt-get install pimoroni
34+
35+
(you will find the Dashboard under 'Accessories' too, in the Pi menu -
36+
or just run ``pimoroni-dashboard`` at the command line)
37+
38+
If you choose to download examples you'll find them in
39+
``/home/pi/Pimoroni/scrollphathd/``.
40+
41+
Manual install:
42+
~~~~~~~~~~~~~~~
43+
44+
Library install for Python 3:
45+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46+
47+
on Raspbian:
48+
49+
.. code:: bash
50+
51+
sudo apt-get install python3-scrollphathd
52+
53+
other environments:
54+
55+
.. code:: bash
56+
57+
sudo pip3 install scrollphathd
58+
59+
Library install for Python 2:
60+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
61+
62+
on Raspbian:
63+
64+
.. code:: bash
65+
66+
sudo apt-get install python-scrollphathd
67+
68+
other environments:
69+
70+
.. code:: bash
71+
72+
sudo pip2 install scrollphathd
73+
74+
Development:
75+
~~~~~~~~~~~~
76+
77+
If you want to contribute, or like living on the edge of your seat by
78+
having the latest code, you should clone this repository, ``cd`` to the
79+
library directory, and run:
80+
81+
.. code:: bash
82+
83+
sudo python3 setup.py install
84+
85+
(or ``sudo python setup.py install`` whichever your primary Python
86+
environment may be)
87+
88+
In all cases you will have to enable the i2c bus.
89+
90+
Documentation & Support
91+
-----------------------
92+
93+
- Guides and tutorials - https://learn.pimoroni.com/scroll-phat-hd
94+
- Function reference - http://docs.pimoroni.com/scrollphathd/
95+
- GPIO Pinout - https://pinout.xyz/pinout/scroll\_phat\_hd
96+
- Get help - http://forums.pimoroni.com/c/support
97+
98+
Unofficial / Third-party libraries
99+
----------------------------------
100+
101+
- Java library by Jim Darby - https://github.com/hackerjimbo/PiJava
102+
- Rust library by Tiziano Santoro -
103+
https://github.com/tiziano88/scroll-phat-hd-rs
104+
- Go library by Tom Mitchell -
105+
https://github.com/tomnz/scroll-phat-hd-go
106+
107+
.. |Scroll pHAT HD| image:: https://raw.githubusercontent.com/pimoroni/scroll-phat-hd/master/scroll-phat-hd-logo.png

‎library/README.txt

Whitespace-only changes.

‎library/scrollphathd/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from sys import version_info
22
from . import is31fl3731
33

4-
__version__ = '1.2.0'
4+
__version__ = '1.2.1'
55

66
display = is31fl3731.ScrollPhatHD(None, gamma_table=is31fl3731.LED_GAMMA)
77

‎library/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939

4040
setup(
4141
name = 'scrollphathd',
42-
version = '1.2.0',
42+
version = '1.2.1',
4343
author = 'Philip Howard',
4444
author_email = 'phil@pimoroni.com',
4545
description = 'Scroll pHAT HD Driver',
46-
long_description= open('README.txt').read() + open('CHANGELOG.txt').read(),
46+
long_description= open('README.rst').read() + "\n" + open('CHANGELOG.txt').read(),
4747
license = 'MIT',
4848
keywords = 'Raspberry Pi LED',
4949
url = 'http://www.pimoroni.com',

‎packaging/CHANGELOG

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
scrollphathd (1.2.1) stable; urgency=low
2+
3+
* New: Exposed set_gamma method for user gamma correction
4+
* Improvement: Removed web API import to prevent hard dependency on Flask
5+
* Improvement: Many improvements to the HTTP API including autoscroll
6+
* Optimisation: write_string will calculate string size and grow buffer once to fit
7+
* Optimisation: set_graph will grow buffer to fit the graph
8+
* Bugfix: Fixed ASCII font to place accented characters at correct codepoints
9+
10+
-- Phil Howard <phil@pimoroni.com> Wed, 21 Mar 2018 00:00:00 +0000
11+
112
scrollphathd (1.2.0) stable; urgency=low
213

314
* New: Added set_font to set current font for all write_string calls

‎packaging/debian/changelog

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
scrollphathd (1.2.1) stable; urgency=low
2+
3+
* New: Exposed set_gamma method for user gamma correction
4+
* Improvement: Removed web API import to prevent hard dependency on Flask
5+
* Improvement: Many improvements to the HTTP API including autoscroll
6+
* Optimisation: write_string will calculate string size and grow buffer once to fit
7+
* Optimisation: set_graph will grow buffer to fit the graph
8+
* Bugfix: Fixed ASCII font to place accented characters at correct codepoints
9+
10+
-- Phil Howard <phil@pimoroni.com> Wed, 21 Mar 2018 00:00:00 +0000
11+
112
scrollphathd (1.2.0) stable; urgency=low
213

314
* New: Added set_font to set current font for all write_string calls

0 commit comments

Comments
 (0)