|
|
fun setLatchBits_1to5(target: Int, isOpen: Boolean): SdoRequest.Write {
|
|
fun setLatchBits_1to5(target: Int, isOpen: Boolean): SdoRequest.Write {
|
|
|
return SdoRequest.Write(nodeId, Command.CONTROL_REG, 0x00, shortLE(v, target), 2, timeoutMs = CustomCanConfig.instance.readTimeoutMs.toLong())
|
|
return SdoRequest.Write(nodeId, Command.CONTROL_REG, 0x00, shortLE(v, target), 2, timeoutMs = CustomCanConfig.instance.readTimeoutMs.toLong())
|