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.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.1.3.tar.gz (12.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for unicornhat-2.1.3.tar.gz
Algorithm Hash digest
SHA256 9ca5680b193fb4b358a2cae84836ae2b788bf95609ad8c5c0b7068565a8cd25a
MD5 7c5d326de5d58776de2a32aed3a3978d
BLAKE2b-256 9537bb50a1ca43d48f0c229aee601fa99c5852ac98946545913ff50e2dec3165

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