Package: scrollphathd
https://shop.pimoroni.com/products/scroll-phat-hd17x7 pixels of single-colour, brightness-controlled, message scrolling
goodness!InstallingFull install (recommended):We’ve created an easy installation script that will install all
pre-requisites and get your Scroll pHAT HD up and running with minimal
efforts. To run it, fire up Terminal which you’ll find in Menu ->
Accessories -> Terminal on your Raspberry Pi desktop, as illustrated
below:In the new terminal window type the command exactly as it appears below
(check for typos) and follow the on-screen instructions:curlhttps://get.pimoroni.com/scrollphathd|bashAlternatively, on Raspbian, you can download thepimoroni-dashboardand install your product by browsing to the relevant entry:sudoapt-getinstallpimoroni(you will find the Dashboard under ‘Accessories’ too, in the Pi menu -
or just runpimoroni-dashboardat the command line)If you choose to download examples you’ll find them in/home/pi/Pimoroni/scrollphathd/.Manual install:Library install for Python 3:on Raspbian:sudoapt-getinstallpython3-scrollphathdother environments:sudopip3installscrollphathdLibrary install for Python 2:on Raspbian:sudoapt-getinstallpython-scrollphathdother environments:sudopip2installscrollphathdDevelopment:If you want to contribute, or like living on the edge of your seat by
having the latest code, you should clone this repository,cdto the
library directory, and run:sudopython3setup.pyinstall(orsudo python setup.py installwhichever your primary Python
environment may be)In all cases you will have to enable the i2c bus.Documentation & SupportGuides and tutorials -https://learn.pimoroni.com/scroll-phat-hdFunction reference -http://docs.pimoroni.com/scrollphathd/GPIO Pinout -https://pinout.xyz/pinout/scroll_phat_hdGet help -http://forums.pimoroni.com/c/supportUnofficial / Third-party librariesJava library by Jim Darby -https://github.com/hackerjimbo/PiJavaRust library by Tiziano Santoro -https://github.com/tiziano88/scroll-phat-hd-rsGo library by Tom Mitchell -https://github.com/tomnz/scroll-phat-hd-go1.3.0Improvement: Default i2c library is now smbus2Improvement: Significant restructure of library around generic is31fl3731 driverImprovement: Allow for alternate i2c addressesBugFix: Add missing get_buffer_shapeBugFix: Fix malformed chars in font5x7New: Fonts, fonts, fonts, and a set_font method to use them1.2.1New: Exposed set_gamma method for user gamma correctionImprovement: Removed web API import to prevent hard dependency on FlaskImprovement: Many improvements to the HTTP API including autoscrollOptimisation: write_string will calculate string size and grow buffer once to fitOptimisation: set_graph will grow buffer to fit the graphBugfix: Fixed ASCII font to place accented characters at correct codepoints1.2.0New: Added set_font to set current font for all write_string callsNew: Added before_display argument to show to modify the display buffer1.1.1Bugfix: Removed Flask HTTP API entry_point to prevent bin file conflict between Python 2 and 31.1.0New: Added Flask HTTP APINew: Init is deferred until the library is used1.0.1New: Added gamma correction1.0.0New: Added set_brightness to globally set maximum display brightnessNew: Added get_buffer_shape to return internal buffer shapeNew: Added get_shape to return display shapeNew: Added set_clear_on_exit, pass True/False to set/clearImprovement: draw_char no longer fills black pixels, which was incongruent with letter spacingImprovement: ‘1’ in font3x5 is now 3 pixels wideImprovement: Monospacing option for fontsImprovement: Fonts can now be indexed by char in addition to ordinalImprovement: Clear now resets scroll positionImprovement: Fill now grows buffer and fills in single operationsImprovement: scroll(0,0) no longer enforces a default scrollImprovement: width/height now private, reimplemented as read-only propertiesImprovement: initialization now detects disabled i2c or missing pHAT and emits a friendly errorImprovement: cleared display sooner to mitigate flash of lit pixels on startupBugfix: Corrected default scroll directionBugfix: 90 and 270 degree rotations are no longer cropped to 7 pixels wideBugfix: Fixed missing version_infoBugfix: Graph catches IndexError and gracefully ignores missing values0.0.1Initial release