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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for unicornhat-2.2.0.tar.gz
Algorithm Hash digest
SHA256 6002646d71eee6c18fca2c13e5f2f7f4886a07d56b1e0513f2936faff4771dce
MD5 54327251f870586ce9f06bbbdb37f2a0
BLAKE2b-256 190f27bd5d07966caba3fdc48a7e53c2a00d594572a3078ea26cd180caeb3733

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