Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing raspberry pi ports

Is their a certain way of accessing the raspberry pi ports using java? Such as writing a program in java on the raspberry pi, and running it, and maybe having a java button make a pin in the raspberry pi high or low. Is there a certain library or certain code to access them? Thanks.

like image 657
Drew Wood Avatar asked Nov 24 '25 23:11

Drew Wood


1 Answers

You can have a look on the Pi4j project and on this exemple http://pi4j.com/example/control.html

like image 148
LiveGen Avatar answered Nov 26 '25 11:11

LiveGen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!