Skip to main content

A module to control the Pibrella Raspberry Pi Addon Board

Project description

Pibrella API Library. See README.md for details. Change Log ==========

1.3

  • Restructured library to include pins/main code in Pibrella package

  • Fix to notation support so notes are correctly played

1.2

  • Significant version bump to highlight launch to Production/Stable status

  • Small tweak to allow use of with, ie: “with pibrella.light.red as red:”

1.1.7-dev

  • Fixed buzzer to stop after playing melody

  • Wrapped changed/pressed/released so they can be registered simultaneously

  • Added “len” to pin collections, to support random.choice(pibrella.light)

  • Added error if run without root

1.1.6-dev

  • Populated LICENSE.txt

1.1.5-dev

  • Renamed amber to yellow and added alias support for backwards-compatibility

  • Added lights, inputs, outputs and pins as pluralalised aliases for light, input etc

  • Tweaked how on/off/toggle calls to lights/outputs are handled during pulse/blink

1.1.4-dev

  • Added pulse(), blink() and fade() to all outputs

1.1.3-dev

  • Built-in asyncronous alarm sound! pibrella.buzzer.alarm()

  • Replaced xrange with range

1.1.2-dev

  • Added support for REV 1 Raspberry Pi

1.1.1-dev

  • Added fade(from,to,duration) for lights

1.1-dev

  • Removed .all. keyword, use pibrella.input.read() instead of pibrella.input.all.read()

  • Added helper to list pins, try: pibrella.input in interactive shell

  • Added [‘name’] and [idx] support to pin collections, try: pibrella.input[0] pibrella.input[‘a’]

  • Added buzzer to pibrella.pin

  • Added return values to most methods

1.0-dev

  • Initial development/beta 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

Pibrella-1.3.1.tar.gz (10.0 kB view details)

Uploaded Source

File details

Details for the file Pibrella-1.3.1.tar.gz.

File metadata

  • Download URL: Pibrella-1.3.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Pibrella-1.3.1.tar.gz
Algorithm Hash digest
SHA256 6208be871561bc9fbcb8539acfd2382efe0d5e6ce1583e5cb49c188cd481d8c4
MD5 e883e9ac3117ae511a1590e2ee5da5c1
BLAKE2b-256 21917c31cd713329e3a93c73a860d45ece2b78b8e4e413c12e181e95007e4e25

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