Questions tagged [pi4j]

Pi4J is a library for Java to use the GPIOs of the Raspberry Pi.

Filter by
Sorted by
Tagged with
18
votes
1answer
11k views

Do all GPIO pins have a internal pull-up/pull-down resistors?

So question is: Does all Raspberrys GPIO have a internal pull-up/pull-down resistor which can be enabled from program, in my case Java language with PiJ4? I have Raspberry Model B+.
2
votes
0answers
195 views

PI4J + Adafruit LCD with MCP23017

Got this device. Python example char_lcd_plate.py is working perfect. But I would like to manage it with Pi4J. I copied bits from python example LCD_PLATE_RS = 15 LCD_PLATE_RW ...
0
votes
4answers
180 views

provisionDigitalOutputPin sets mode to high low() and blink() don't work

I have the following Java program to turn off the LED connected to wiringpi GPIO_07 at start, then blink based on user input. import com.pi4j.io.gpio.GpioController; import com.pi4j.io.gpio....