Using GPIO outputs with Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Using GPIO outputs with Java

Has anyone used java to control GPIO break out pins.

7th Feb 2017, 10:33 AM
Anthony
Anthony - avatar
1 Answer
+ 2
I have only ever seen it done on a Raspberry Pi, of which I own 2 and have never actually used Java to program for them. (I usually use my Arduino with C) Look into Pi4j for programming with Java for Raspberry Pi. It's also possible to use Java ME embedded for GPIO on an RPI. http://pi4j.com http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPi_GPIO/RaspberryPi_GPIO.html
7th Feb 2017, 11:18 AM
ChaoticDawg
ChaoticDawg - avatar