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 hashes)

Uploaded Source

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