Releases: pimoroni/scroll-phat-hd
Version 1.3.0
- Improvement: Default i2c library is now smbus2
- Improvement: Significant restructure of library around generic is31fl3731 driver
- Improvement: Allow for alternate i2c addresses
- BugFix: Add missing get_buffer_shape
- BugFix: Fix malformed chars in font5x7
- New: Fonts, fonts, fonts, and a set_font method to use them
Version 1.2.1
- New: Exposed set_gamma method for user gamma correction
- Improvement: Removed web API import to prevent hard dependency on Flask
- Improvement: Many improvements to the HTTP API including autoscroll
- Optimisation: write_string will calculate string size and grow buffer once to fit
- Optimisation: set_graph will grow buffer to fit the graph
- Bugfix: Fixed ASCII font to place accented characters at correct codepoints
Version 1.2.0
This is a feature release introducing set_font (thank you @paolopal) and also a new before_display
entry-point that allows you to modify the display buffer right before it's shown on Scroll pHAT HD. See #23 for discussion and rationale.
- New: Added set_font to set current font for all write_string calls
- New: Added before_display argument to show to modify the display buffer
Version 1.1.1
This is a bugfix release to remove the entry_point
from both the Python 2 and Python 3 libraries.
Both packages attempting to use /usr/bin/scrollphathd_api caused the conflict reported here: https://www.raspberrypi.org/forums/viewtopic.php?f=116&t=202583
Version 1.1.0
This version introduces a new Flask-based HTTP API orchestrated by @Godley. It provides a Flask Blueprint which you can blend into your existing Flask app, and hopefully eventually with future APIs for our products, to create your own Pi-powered API endpoints for controlling lights/etc.
Using this API you can set messages on your Scroll pHAT HD with a form post, scroll them, and clear the display when you're done.
See #41 for discussion, rationale and the journey this new feature took to get here.
Additionally, library setup has been deferred until first use. This prevents this library from clobbering Python's help("modules")
with import/runtime errors. See #37 for more details.
- New: Added Flask HTTP API
- New: Init is deferred until the library is used
Version 1.0.1
This is a minor release adding gamma correction to Scroll pHAT HD.
Version 1.0.0
Mahoosive release with more bug fixes, features and improvements than you can shake a pointy stick at.
Special thanks to @ali1234 for helping resolve the mind-twisting 90 and 270 degree rotation problems and optimising performance slightly. Thanks also to everyone who suggested the features/improvements that have made it into this release.
- New: Added set_brightness to globally set maximum display brightness
- New: Added get_buffer_shape to return internal buffer shape
- New: Added get_shape to return display shape
- New: Added set_clear_on_exit, pass True/False to set/clear
- Improvement: draw_char no longer fills black pixels, which was incongruent with letter spacing
- Improvement: '1' in font3x5 is now 3 pixels wide
- Improvement: Monospacing option for fonts
- Improvement: Fonts can now be indexed by char in addition to ordinal
- Improvement: Clear now resets scroll position
- Improvement: Fill now grows buffer and fills in single operations
- Improvement: scroll(0,0) no longer enforces a default scroll
- Improvement: width/height now private, reimplemented as read-only properties
- Improvement: initialization now detects disabled i2c or missing pHAT and emits a friendly error
- Improvement: cleared display sooner to mitigate flash of lit pixels on startup
- Bugfix: Corrected default scroll direction
- Bugfix: 90 and 270 degree rotations are no longer cropped to 7 pixels wide
- Bugfix: Fixed missing version_info
- Bugfix: Graph catches IndexError and gracefully ignores missing values
Version 0.0.1
Initial release.