Skip to content

Releases: piface/pifacecommon

PiFace Common v4.2.1

20 Jul 10:12
Compare
Choose a tag to compare

v4.2.0

  • Added daemon flag for PortEventListener.

PiFace Common v4.1.2

09 Feb 15:56
Compare
Choose a tag to compare

Change Log

v4.1.2

  • Fixed bug with new Device Tree (Pi2) by changing GPIO_INTERRUPT_DEVICE
    from /sys/devices/virtual/gpio/ to /sys/class/gpio/ and changing udev
    rule.

PiFace Common v4.0.0

14 Oct 09:19
Compare
Choose a tag to compare

v4.0.0

  • Ignored "Interrupted system call" error in watch_port_events.
  • Rewrite main functions into chip specific (MCP23S17) class.
  • GPIOInterruptDevice class replacing core GPIO enable/disable functions.
  • SPIDevice class replacing spisend function. Can now add in spi_callback
    function which is called before each SPI write.
  • Updated installation instructions.

PiFace Common v3.1.1

17 Sep 11:35
Compare
Choose a tag to compare
  • Fixes the installation bug (accidentally removed the house keeping script in the Debian package).
  • Adds physical level interrupt directions (IODIR_FALLING_EDGE, IODIR_RISING_EDGE).

PiFace Common v3.1

16 Sep 10:44
Compare
Choose a tag to compare

Version 3.1 adds an adjustable settle time for interrupts which allows for the debouncing of noisy inputs. You can change this when you register a pin number on the PortEventListener like so:

listener = PortEventListener(port)
listener.register(pin_num, direction, callback, settle_time)

settle_time is optional and defaults to 0.020 seconds.

The packages for this release have been temporarily removed because they do not install correctly. A new release will be released very soon (sometime today 17/09/2013).

PiFace Common v3

13 Aug 14:30
Compare
Choose a tag to compare

New in version 3.0.0:

  • Added timeout class (fixing Issue #2) in interrupts.
  • Added support for interrupts on multiple boards.
  • Interrupts must be enabled/disabled manually. Automatic handling of this
    broke interrupts from multiple boards.

PiFace Common v2

02 Aug 11:06
Compare
Choose a tag to compare

The PiFace Common module provides common functions and classes for interacting with PiFace products.