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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for Pibrella-1.3.tar.gz
Algorithm Hash digest
SHA256 215ddbd493bd822ef2027a86d7418655a213107dcdb596af61142c8dd98b48bc
MD5 260ae00c2e51724435511b077954bea9
BLAKE2b-256 c234e8f3655c4426ffcef7e9fc4306479fa61d1a21eaddbae0a4a2a878b206d7

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