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.2

  • Bugfix: Switched to DMA channel 10 to avoid SD card locking + freezing

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for unicornhat-2.2.2.tar.gz
Algorithm Hash digest
SHA256 8f527dd0f19917f3343d7d2f30f4d909053a59e22baa5dba1134d0040406d269
MD5 085f1c72d82e3c35995d3d898555d87c
BLAKE2b-256 def6a88ac45469aeb0a2653db280bce707be2c612b55bbc3f80a94061957dc53

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