You can download pi4j-device-1.0.jar in this page.
Open Source
pi4j-device-1.0.jar file has the following types.
LICENSE.txt META-INF/MANIFEST.MF META-INF/maven/com.pi4j/pi4j-device/pom.properties META-INF/maven/com.pi4j/pi4j-device/pom.xml NOTICE.txt README.md com.pi4j.component.Component.class com.pi4j.component.ComponentBase.class com.pi4j.component.ComponentListener.class com.pi4j.component.ObserveableComponent.class com.pi4j.component.ObserveableComponentBase.class com.pi4j.component.access.Keypad.class com.pi4j.component.button.Button.class com.pi4j.component.button.ButtonBase.class com.pi4j.component.button.ButtonEvent.class com.pi4j.component.button.ButtonHoldListener.class com.pi4j.component.button.ButtonListener.class com.pi4j.component.button.ButtonPressedListener.class com.pi4j.component.button.ButtonReleasedListener.class com.pi4j.component.button.ButtonState.class com.pi4j.component.button.ButtonStateChangeEvent.class com.pi4j.component.button.ButtonStateChangeListener.class com.pi4j.component.button.impl.GpioButtonComponent.class com.pi4j.component.buzzer.Buzzer.class com.pi4j.component.gyroscope.AxisGyroscope.class com.pi4j.component.gyroscope.Gyroscope.class com.pi4j.component.gyroscope.MultiAxisGyro.class com.pi4j.component.gyroscope.analogdevices.ADXL345.class com.pi4j.component.gyroscope.honeywell.HMC5883L.class com.pi4j.component.lcd.LCD.class com.pi4j.component.lcd.LCDBase.class com.pi4j.component.lcd.LCDTextAlignment.class com.pi4j.component.lcd.impl.GpioLcdDisplay.class com.pi4j.component.lcd.impl.I2CLcdDisplay.class com.pi4j.component.light.DimmableLight.class com.pi4j.component.light.DimmableLightBase.class com.pi4j.component.light.DimmableLightListener.class com.pi4j.component.light.LED.class com.pi4j.component.light.LEDBase.class com.pi4j.component.light.Light.class com.pi4j.component.light.LightBase.class com.pi4j.component.light.LightLevelChangeEvent.class com.pi4j.component.light.LightListener.class com.pi4j.component.light.LightStateChangeEvent.class com.pi4j.component.light.impl.GpioDimmableLightComponent.class com.pi4j.component.light.impl.GpioLEDComponent.class com.pi4j.component.light.impl.GpioLightComponent.class com.pi4j.component.motor.Motor.class com.pi4j.component.motor.MotorBase.class com.pi4j.component.motor.MotorState.class com.pi4j.component.motor.StepperMotor.class com.pi4j.component.motor.StepperMotorBase.class com.pi4j.component.motor.impl.GpioStepperMotorComponent.class com.pi4j.component.potentiometer.Potentiometer.class com.pi4j.component.potentiometer.microchip.MCP4431.class com.pi4j.component.potentiometer.microchip.MCP4432.class com.pi4j.component.potentiometer.microchip.MCP4441.class com.pi4j.component.potentiometer.microchip.MCP4442.class com.pi4j.component.potentiometer.microchip.MCP4451.class com.pi4j.component.potentiometer.microchip.MCP4452.class com.pi4j.component.potentiometer.microchip.MCP4461.class com.pi4j.component.potentiometer.microchip.MCP4462.class com.pi4j.component.potentiometer.microchip.MCP4531.class com.pi4j.component.potentiometer.microchip.MCP4532.class com.pi4j.component.potentiometer.microchip.MCP4541.class com.pi4j.component.potentiometer.microchip.MCP4542.class com.pi4j.component.potentiometer.microchip.MCP4551.class com.pi4j.component.potentiometer.microchip.MCP4552.class com.pi4j.component.potentiometer.microchip.MCP4561.class com.pi4j.component.potentiometer.microchip.MCP4562.class com.pi4j.component.potentiometer.microchip.MCP4631.class com.pi4j.component.potentiometer.microchip.MCP4632.class com.pi4j.component.potentiometer.microchip.MCP4641.class com.pi4j.component.potentiometer.microchip.MCP4642.class com.pi4j.component.potentiometer.microchip.MCP4651.class com.pi4j.component.potentiometer.microchip.MCP4652.class com.pi4j.component.potentiometer.microchip.MCP4661.class com.pi4j.component.potentiometer.microchip.MCP4662.class com.pi4j.component.potentiometer.microchip.MicrochipPotentiometer.class com.pi4j.component.potentiometer.microchip.MicrochipPotentiometerChannel.class com.pi4j.component.potentiometer.microchip.MicrochipPotentiometerDeviceStatus.class com.pi4j.component.potentiometer.microchip.MicrochipPotentiometerNonVolatileMode.class com.pi4j.component.potentiometer.microchip.MicrochipPotentiometerTerminalConfiguration.class com.pi4j.component.potentiometer.microchip.impl.DeviceControllerChannel.class com.pi4j.component.potentiometer.microchip.impl.DeviceControllerDeviceStatus.class com.pi4j.component.potentiometer.microchip.impl.DeviceControllerTerminalConfiguration.class com.pi4j.component.potentiometer.microchip.impl.MicrochipPotentiometerBase.class com.pi4j.component.potentiometer.microchip.impl.MicrochipPotentiometerDefaultDeviceControllerFactory.class com.pi4j.component.potentiometer.microchip.impl.MicrochipPotentiometerDeviceController.class com.pi4j.component.potentiometer.microchip.impl.MicrochipPotentiometerDeviceControllerFactory.class com.pi4j.component.potentiometer.microchip.impl.MicrochipPotentiometerDeviceStatusImpl.class com.pi4j.component.power.Power.class com.pi4j.component.power.PowerBase.class com.pi4j.component.power.PowerListener.class com.pi4j.component.power.PowerState.class com.pi4j.component.power.PowerStateChangeEvent.class com.pi4j.component.power.impl.GpioPowerComponent.class com.pi4j.component.relay.Relay.class com.pi4j.component.relay.RelayBase.class com.pi4j.component.relay.RelayListener.class com.pi4j.component.relay.RelayState.class com.pi4j.component.relay.RelayStateChangeEvent.class com.pi4j.component.relay.impl.GpioRelayComponent.class com.pi4j.component.sensor.AnalogSensor.class com.pi4j.component.sensor.AnalogSensorBase.class com.pi4j.component.sensor.AnalogSensorListener.class com.pi4j.component.sensor.AnalogSensorValueChangeEvent.class com.pi4j.component.sensor.DistanceSensor.class com.pi4j.component.sensor.DistanceSensorBase.class com.pi4j.component.sensor.DistanceSensorChangeEvent.class com.pi4j.component.sensor.DistanceSensorListener.class com.pi4j.component.sensor.MotionSensor.class com.pi4j.component.sensor.MotionSensorBase.class com.pi4j.component.sensor.MotionSensorChangeEvent.class com.pi4j.component.sensor.MotionSensorListener.class com.pi4j.component.sensor.Sensor.class com.pi4j.component.sensor.SensorBase.class com.pi4j.component.sensor.SensorListener.class com.pi4j.component.sensor.SensorState.class com.pi4j.component.sensor.SensorStateChangeEvent.class com.pi4j.component.sensor.impl.AnalogSensorComponent.class com.pi4j.component.sensor.impl.DistanceSensorComponent.class com.pi4j.component.sensor.impl.GpioMotionSensorComponent.class com.pi4j.component.sensor.impl.GpioSensorComponent.class com.pi4j.component.sensor.impl.SRF02DistanceSensorI2C.class com.pi4j.component.servo.Servo.class com.pi4j.component.servo.ServoDriver.class com.pi4j.component.servo.ServoProvider.class com.pi4j.component.servo.impl.GenericServo.class com.pi4j.component.servo.impl.PCA9685GpioServoDriver.class com.pi4j.component.servo.impl.PCA9685GpioServoProvider.class com.pi4j.component.servo.impl.RPIServoBlasterProvider.class com.pi4j.component.servo.impl.RPIServoBlasterServoDriver.class com.pi4j.component.switches.MomentarySwitch.class com.pi4j.component.switches.MomentarySwitchBase.class com.pi4j.component.switches.Switch.class com.pi4j.component.switches.SwitchBase.class com.pi4j.component.switches.SwitchListener.class com.pi4j.component.switches.SwitchState.class com.pi4j.component.switches.SwitchStateChangeEvent.class com.pi4j.component.switches.ToggleSwitch.class com.pi4j.component.switches.ToggleSwitchBase.class com.pi4j.component.switches.impl.GpioMomentarySwitchComponent.class com.pi4j.component.switches.impl.GpioSwitchComponent.class com.pi4j.component.switches.impl.GpioToggleSwitchComponent.class com.pi4j.component.temperature.TemperatureChangeEvent.class com.pi4j.component.temperature.TemperatureController.class com.pi4j.component.temperature.TemperatureControllerBase.class com.pi4j.component.temperature.TemperatureListener.class com.pi4j.component.temperature.TemperatureSensor.class com.pi4j.component.temperature.TemperatureSensorBase.class com.pi4j.component.temperature.impl.Tmp102.class com.pi4j.device.Device.class com.pi4j.device.DeviceBase.class com.pi4j.device.DeviceListener.class com.pi4j.device.ObserveableDevice.class com.pi4j.device.ObserveableDeviceBase.class com.pi4j.device.access.Opener.class com.pi4j.device.access.OpenerBase.class com.pi4j.device.access.OpenerControlState.class com.pi4j.device.access.OpenerListener.class com.pi4j.device.access.OpenerLockChangeEvent.class com.pi4j.device.access.OpenerLockedException.class com.pi4j.device.access.OpenerState.class com.pi4j.device.access.OpenerStateChangeEvent.class com.pi4j.device.access.impl.OpenerDevice.class com.pi4j.device.fireplace.Fireplace.class com.pi4j.device.fireplace.FireplaceBase.class com.pi4j.device.fireplace.FireplacePilotLightEvent.class com.pi4j.device.fireplace.FireplacePilotLightException.class com.pi4j.device.fireplace.FireplacePilotLightListener.class com.pi4j.device.fireplace.FireplaceState.class com.pi4j.device.fireplace.FireplaceStateChangeEvent.class com.pi4j.device.fireplace.FireplaceStateChangeListener.class com.pi4j.device.fireplace.FireplaceTimeoutEvent.class com.pi4j.device.fireplace.FireplaceTimeoutListener.class com.pi4j.device.fireplace.impl.FireplaceDevice.class com.pi4j.device.garage.GarageDoorOpener.class com.pi4j.device.garage.GarageDoorOpenerBase.class com.pi4j.device.garage.impl.GarageDoorOpenerDevice.class com.pi4j.device.gate.GateOpener.class com.pi4j.device.gate.GateOpenerBase.class com.pi4j.device.gate.impl.GateOpenerDevice.class com.pi4j.device.pibrella.Pibrella.class com.pi4j.device.pibrella.PibrellaBuzzer.class com.pi4j.device.pibrella.PibrellaInput.class com.pi4j.device.pibrella.PibrellaLed.class com.pi4j.device.pibrella.PibrellaOutput.class com.pi4j.device.pibrella.impl.PibrellaBase.class com.pi4j.device.pibrella.impl.PibrellaBuzzerImpl.class com.pi4j.device.pibrella.impl.PibrellaDevice.class com.pi4j.device.piface.PiFace.class com.pi4j.device.piface.PiFaceLed.class com.pi4j.device.piface.PiFaceRelay.class com.pi4j.device.piface.PiFaceSwitch.class com.pi4j.device.piface.impl.PiFaceBase.class com.pi4j.device.piface.impl.PiFaceDevice.class com.pi4j.device.sprinkler.SprinklerController.class com.pi4j.device.sprinkler.SprinklerControllerBase.class com.pi4j.device.sprinkler.SprinklerZone.class com.pi4j.device.sprinkler.SprinklerZoneBase.class
pi4j-device-1.0.pom file content.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.pi4j</groupId> <artifactId>pi4j-parent</artifactId> <version>1.0</version> </parent> <artifactId>pi4j-device</artifactId> <name>Pi4J :: Device Abstractions</name> <description>Pi4J Device Abstractions Library</description> <!-- PROJECT DEPENDENCIES --> <dependencies> <dependency> <groupId>com.pi4j</groupId> <artifactId>pi4j-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.pi4j</groupId> <artifactId>pi4j-gpio-extension</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <!-- BUILD INSTRUCTIONS --> <build> <resources> <resource> <directory>${project.build.directory}</directory> <filtering>false</filtering> <includes> <include>LICENSE.txt</include> <include>NOTICE.txt</include> <include>README.md</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> </resource> </resources> <plugins> <!-- JAVA COMPILER --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> <!-- INCLUDE SOURCE JAR --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> <!-- INCLUDE JAVADOC JAR --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <!-- GENERATE LICENSE HEADERS IN SOURCE FILES --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> </plugin> <!-- DOWNLOAD LICENSE, README & NOTICE ARTIFACTS --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> </plugin> <!-- OPTIONALLY DEPLOY THE FINAL JAR TO THE RASPBERRY PI --> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <!-- copy the compiled JAR file to the Raspberry Pi platform platform --> <execution> <id>transfer-compiled-pi4j-device-jar</id> <phase>install</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" /> <if> <equals arg1="${pi.transfer.dev}" arg2="true" /> <then> <!-- ensure the target directory exists on the Raspberry Pi --> <sshexec host="${pi.host.dev}" port="${pi.port.dev}" username="${pi.user.dev}" password="${pi.password.dev}" trust="true" failonerror="false" verbose="true" command="mkdir --parents ${pi.dirCopyTo.dev}" /> <!-- copy the JAR file to the Raspberry Pi --> <scp file="${project.build.directory}/${project.build.finalName}.jar" todir="${pi.user.dev}:${pi.password.dev}@${pi.host.dev}:${pi.dirCopyTo.dev}" port="${pi.port.dev}" trust="true" verbose="true" failonerror="true"> </scp> </then> </if> </tasks> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-jsch</artifactId> <version>${ant-jsch.version}</version> </dependency> <dependency> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> <version>${jsch.version}</version> </dependency> <dependency> <groupId>ant-contrib</groupId> <artifactId>ant-contrib</artifactId> <version>${ant-contrib.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> </project>
<dependency> <groupId>com.pi4j</groupId> <artifactId>pi4j-device</artifactId> <version>1.0</version> </dependency>
If you think the following pi4j-device-1.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.
Download pi4j-device-1.0.jar file