Skip to content

Instantly share code, notes, and snippets.

@donchan922
Last active August 25, 2018 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donchan922/8eacf9275452ec1766f624da787760ea to your computer and use it in GitHub Desktop.
Save donchan922/8eacf9275452ec1766f624da787760ea to your computer and use it in GitHub Desktop.
$ cd /opt/pi4j/examples
$ javac -classpath .:classes:/opt/pi4j/lib/'*' -d . ControlGpioExample.java
$ sudo java -classpath .:classes:/opt/pi4j/lib/'*' ControlGpioExample
<--Pi4J--> GPIO Control Example ... started.
Unable to determine hardware version. I see: Hardware : BCM2835
,
- expecting BCM2708 or BCM2709.
If this is a genuine Raspberry Pi then please report this
to projects@drogon.net. If this is not a Raspberry Pi then you
are on your own as wiringPi is designed to support the
Raspberry Pi ONLY.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment