I have a problem when I trying to run Pi4J's LcdExample on the Raspberry Pi.
I've downloaded the libraries and done all the stuff that it tells me to do here: http://pi4j.com/install.html
Although when I try to run the program using
Code: Select all
sudo java -classpath .:classes:/opt/pi4j/lib/'*' LcdExampleas it made to do but nothing more.<--Pi4J--> GPIO 4 bit LCD example program
(Note that the program never ends, it just continues to run!)
If you look in the code
it is told to do several other things to, for example write som text to the LCD.
I have a Adafruit 16x2 LCD Plate which I know there's nothing wrong with (as I can run python scripts with it), therefore I suspect some kind of Pi4J code / library error.
Grateful for answers!
/Martin