Package | Description |
---|---|
com.pi4j.io.w1 |
http://lxr.free-electrons.com/source/drivers/w1/slaves/w1_therm.c
http://lxr.free-electrons.com/source/drivers/w1/w1_family.h
|
Modifier and Type | Class and Description |
---|---|
class |
W1BaseDevice |
Modifier and Type | Method and Description |
---|---|
<T extends W1Device> |
W1Master.getDeviceById(String id)
Get a single device by it's ID string
|
<T extends W1Device> |
W1Master.getDevices(int deviceFamilyId) |
<T extends W1Device> |
W1Master.getW1Devices(Class<T> type) |
Modifier and Type | Method and Description |
---|---|
W1Device |
W1DeviceType.create(File deviceDir)
Creates a new instance of a concrete device.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends W1Device> |
W1DeviceType.getDeviceClass()
Gets the implementation class of the device which must be a sub-class of W1Device
|
List<W1Device> |
W1Master.getDevices()
Get the list of available devices.
|
Copyright © 2012–2021 Pi4J. All rights reserved.