public class IMS
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
protected |
IMS(long cPtr,
boolean cMemoryOwn) |
|
IMS(short i2c_bus) |
|
IMS(short i2c_bus,
short i2c_address) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
int |
get_light() |
int |
get_moisture() |
float |
get_temperature() |
int |
get_version() |
protected static long |
getCPtr(IMS obj) |
int |
read(IMS_RD_COMMAND cmd) |
void |
reset_i2c_address(short address_new) |
void |
reset() |
void |
sleep() |
void |
write(IMS_WR_COMMAND cmd,
short wr_data) |
protected IMS(long cPtr,
boolean cMemoryOwn)
public IMS(short i2c_bus,
short i2c_address)
public IMS(short i2c_bus)
protected static long getCPtr(IMS obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public void write(IMS_WR_COMMAND cmd, short wr_data)
public int read(IMS_RD_COMMAND cmd)
public int get_version()
public int get_moisture()
public int get_light()
public float get_temperature()
public void reset()
public void reset_i2c_address(short address_new)
public void sleep()