public class SPI
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
free() |
static SPI |
getInstance() |
boolean |
init() |
boolean |
isPowerOn()
判断设备是否上电
Judge the device is powered on or not. |
byte[] |
receive() |
boolean |
send(byte[] sendData) |
public static SPI getInstance()
public boolean init()
public boolean free()
public boolean send(byte[] sendData)
public byte[] receive()
public boolean isPowerOn()