Defines the number of supported drive modes by the eBike. I.e. 5.
constonDriveModesChange= (value:number, timestamp?:Date) => {console.log(value, timestamp);};COBI.motor.supportedDriveModes.read(onDriveModesChange); // Instantly get the current valueCOBI.motor.supportedDriveModes.subscribe(onDriveModesChange);COBI.motor.supportedDriveModes.unsubscribe(onDriveModesChange);
constonDriveModesChange= (value, timestamp) => {console.log(value, timestamp);};COBI.motor.supportedDriveModes.read(onDriveModesChange); // Instantly get the current valueCOBI.motor.supportedDriveModes.subscribe(onDriveModesChange);COBI.motor.supportedDriveModes.unsubscribe(onDriveModesChange);