Releases: piface/pifacecommon
Releases · piface/pifacecommon
PiFace Common v4.2.1
v4.2.0
- Added daemon flag for PortEventListener.
PiFace Common v4.1.2
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
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
- 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
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
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
The PiFace Common module provides common functions and classes for interacting with PiFace products.