Skip to main content

Python library for UnicornHAT/pHAT

Project description

Learn more: https://shop.pimoroni.com/products/unicorn-hat Learn more: https://shop.pimoroni.com/products/unicorn-phat 2.2.1 —–

  • Refactor: Switched to using rpi_ws218x 3.x.x

2.1.3

  • Feature: Added set_all and shade_pixels which now drives set_pixels

  • Feature: Added PHAT_VERTICAL optional orientation

  • Bugfix: get_brightness now returns value

  • Bugfix: get_pixels now takes into account pHAT/HAT shape

2.1.2

  • Added AUTO set_layout which attempts to detect uHAT via EEPROM

  • Added get_shape() which returns a tuple of width/height

2.1.1

  • Initialized to 128 brightness (max)

2.1.0

  • Added Unicorn pHAT support

2.0.7

  • Added warning on low brightness

2.0.6

  • Indent bugfix

2.0.5

  • Max brightness capped at 50%

  • Added requirement for latest 1.0.0 rpi_ws281x ( dubbed 2.0.0 on pip )

2.0.0

  • Major switch over to rpi_ws281x library

  • Raspberry Pi 2 compatibility

1.0.1

  • Fix to rotation()

1.0.0

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unicornhat-2.2.1.tar.gz (12.4 kB view details)

Uploaded Source

File details

Details for the file unicornhat-2.2.1.tar.gz.

File metadata

  • Download URL: unicornhat-2.2.1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for unicornhat-2.2.1.tar.gz
Algorithm Hash digest
SHA256 b1d953f3fe9561371c4846dd338abcc3122f84aa9766f2c623b3cefaeb3bc1a9
MD5 b561ff6d84728be6fa27e7fe6fd9319c
BLAKE2b-256 20e08c6a4061423b0db5d4847482c31b7de9ac94257521ecd492ac80aaf2f8e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page