pi4j-v1
pi4j-v1 copied to clipboard
Java I/O library for Raspberry Pi (GPIO, I2C, SPI, UART)
i have a module transmitting onto a serial line a couple bytes every 15 ms or so. and i need to be able to parse the info, and send back...
Regarding serial control signals: - Is there a documentation about the default serial control signals pin mapping? I.e. if I want to send CTS (clear to send) signal, what physical...
Hello, Thanks for the great project. I currently initialize all pins to PinMode.INPUT - but would dynamically light to change the mode depending on need to PinMode.OUTPUT. I get `com.pi4j.io.gpio.exception.InvalidPinModeException:...
For example, using `pi4j` 1.4 in my project, I get ``` [error] Exception in thread "main" java.lang.module.FindException: Module java.activation not found, required by java.xml.bind [error] at java.base/java.lang.module.Resolver.findFail(Resolver.java:877) [error] at java.base/java.lang.module.Resolver.resolve(Resolver.java:191)...
Hi everyone, I'm in migration phase of my project from Raspberry PI 3B+ on Raspberry 4B due "low System Memory" error in previous version. I buyed Raspberry PI4 8 Gbytes...
I need to comunicate with a device that has fixed baud on 5800, could somebody if there is a way to manage this Baudrate?? Thankyou
I've tried to test the PCA9685 servo examples. They don't work, and I managed to figure out, where the problem might be located: Taking a look at com.pi4j.component.servo.impl.GenericServo.setPositon(): public void...
Is the library really using a Java feature that requires JDK > 8? > [error] bad class file: /home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/com/pi4j/pi4j-core/1.4/pi4j-core-1.4.jar(com/pi4j/io/gpio/Pin.class) > [error] class file has wrong version 55.0, should be 52.0...
I use CM4, ubuntu server 20.10 64 bit, wiringpi 2.60, pi4j 1.4. Run the following code will cause the eth0 lost its ipv4 address, so the eth0 will not work...
Using Pi4J v1.3 Installed wiringPi ldconfig -p | grep wiringPi.so libwiringPi.so (libc6,hard-float) => /usr/local/lib/libwiringPi.so libwiringPi.so (libc6,hard-float) => /usr/lib/libwiringPi.so feb 21, 2021 2:14:01 AM com.pi4j.util.NativeLibraryLoader load SEVERE: Unable to load [libpi4j.so]...