Motor Interface Ready
const onMotorInterfaceReadyChange = (value: boolean, timestamp?: Date) => {
console.log(value, timestamp);
};
COBI.hub.motorInterfaceReady.read(onMotorInterfaceReadyChange); // Instantly get the current value
COBI.hub.motorInterfaceReady.subscribe(onMotorInterfaceReadyChange);
COBI.hub.motorInterfaceReady.unsubscribe(onMotorInterfaceReadyChange);const onMotorInterfaceReadyChange = (value, timestamp) => {
console.log(value, timestamp);
};
COBI.hub.motorInterfaceReady.read(onMotorInterfaceReadyChange); // Instantly get the current value
COBI.hub.motorInterfaceReady.subscribe(onMotorInterfaceReadyChange);
COBI.hub.motorInterfaceReady.unsubscribe(onMotorInterfaceReadyChange);Last updated