ProtonMM
Posts: 1
Joined: Thu Feb 25, 2016 1:15 pm

onewire in java

Thu Feb 25, 2016 1:25 pm

Hallo

Wie werden 1-wire Daten in Java eingelesen?
Welcher Treiber / API wird benötigt / muss installiert sein?

owfs ist installiert und eingehängt in /mnt/1wire.

Vielen Dank für Tipps.
ProtonMM

mattlewis
Posts: 113
Joined: Sat Jan 12, 2013 3:05 pm
Location: UK
Contact: Website

Re: onewire in java

Thu Feb 25, 2016 4:11 pm

I just added support for 1-wire devices in my diozero Java library, class: https://github.com/mattjlewis/diozero/b ... ensor.java. Health warning - I've not yet tested this class.
Relies on w1-gpio and w1-therm kernel modules.
Documentation for the project is evolving and can be found at http://rtd.diozero.com/.
The JavaDoc header tags in this class link to the sources of information that I used.
Hope that helps.
Regards,
Matt
http://www.diozero.com/

Return to “Java”