Raspberry Pi - Pi4J Version 0.0.5 Released!
Tuesday, March 19, 2013 at 9:00AM
Robert Savage in Embedded Computing, Java, Pi4J, Raspberry Pi, Raspberry Pi, java, pi4j
Pi4J Version 0.0.5 is now released!
Overview
Pi4J Version 0.0.5 is now released and it has been a stable build for quite some time. Users of previous versions are encouraged to upgrade to this latest build. This release includes a number of bug fixes (see below), new features, and added support for add-on accessory boards and GPIO expander chips. This version also introduces a component abstraction layer where interfaces are defined for components such as Relays, Lights, Switches, and LCD displays.
This version is also available at Maven Central:
Fixed/resolved issues are included via the link below:
Release notes are included in the readme:
Issue Summary
- Added support for PCF8574 GpioProvider
- Added sample code for using PCF8574 GpioProvider
- Fixed issue where hard-float ABI was not detected properly when using Oracle JDK 8 early access edition.https://github.com/Pi4J/pi4j/issues/26
- Added support for Motor and Stepper motor component interfaces.
- Added GPIO based stepper motor implementation and sample program.
- Added support for Motion sensor component interface.
- Added GPIO based motion sensor implementation.
- Added LCD component interface
- Added GPIO based 4/8 bit LCD display component implementation and sample program.
- Added GPIO based 4/8 bit LCD WiringPi example program
- Added support for a GpioController.shutdown() method to cleanup terminate all Pi4J threads and executors.https://github.com/Pi4J/pi4j/issues/9
- Added support for a user-definable ExecutorServiceFactory to allow user program to provide the implementation for executor service instances and managed thread pools.
https://github.com/Pi4J/pi4j/issues/10
- Fixed 'java.util.concurrent.RejectedExecutionException' issue where there were not enough default thread in the pool for concurrent tasks. https://github.com/Pi4J/pi4j/issues/31
- Fixed issue where SerialDataMonitorThread was not shutting down on program exit. https://github.com/Pi4J/pi4j/issues/33
- Fixed issue where hard-float ABI was not detected properly when using Oracle JDK 8 early access edition.https://github.com/Pi4J/pi4j/issues/26
- Added support for exceptions on serial port access methods. https://github.com/Pi4J/pi4j/issues/8
- Fixed issue where process streams were not being closed properly https://github.com/Pi4J/pi4j/issues/35
- Fixed issue where serial.write(byte[]) was throwing java.lang.StringIndexOutOfBoundsExceptionhttps://github.com/Pi4J/pi4j/issues/37
- Added additional system information API methods to access memory, frequency, CPU temperature, voltage, and board model data.https://github.com/Pi4J/pi4j/issues/30
- Fixed MCP23008 and MCP23017 getState() return values
- Added support for MCP23S17 GpioProvider
- Added support for Pi-Face GpioProvider
- Added support for Pi-Face Device Interface
- Added MCP23S17GpioExample sample code
- Added PiFaceExample sample code
- Added WiringPiSPIExample sample code
- Added LED component interface and GpioLEDCompoment impl
- Added GpioSwitchCompoment impl
Article originally appeared on SHA (http://www.savagehomeautomation.com/).
See website for complete article licensing information.