toio.cube.api package¶
- class toio.cube.api.ToioCoreCubeLowLevelAPI(interface: CubeInterface)[source]
Bases:
objectControl APIs This class has control APIs for each characteristic.
- version
Version of supported API
- Type:
str
- battery
Interface to battery characteristic
- Type:
api.Battery
- button
Interface to button characteristic
- Type:
api.Button
- configuration
Interface to configuration characteristic
- Type:
api.Configuration
- id_information
Interface to id information characteristic
- Type:
api.IdInformation
- indicator
Interface to indicator characteristic
- Type:
api.IdInformation
- motor
Interface to motor characteristic
- Type:
api.Motor
- sound
Interface to sound characteristic
- Type:
api.Sound
- __init__(interface: CubeInterface)[source]
Submodules¶
- toio.cube.api.base_class module
- toio.cube.api.battery module
- toio.cube.api.button module
- toio.cube.api.configuration module
RequestProtocolVersionSetHorizontalDetectionThresholdSetCollisionDetectionThresholdSetDoubleTapDetectionTimeIntervalNotificationConditionSetIdNotificationSetIdMissedNotificationMagneticSensorFunctionMagneticSensorConditionSetMagneticSensorMotorSpeedInformationAcquisitionStateSetMotorSpeedInformationAcquisitionPostureAngleDetectionTypePostureAngleDetectionConditionSetPostureAngleDetectionProtocolVersionResponseIdNotificationSettingsResponseIdMissedNotificationSettingsResponseMagneticSensorSettingsResponseMotorSpeedInformationAcquisitionSettingsResponsePostureAngleDetectionSettingsConfigurationResponseTypeConfigurationConfiguration.is_my_data()Configuration.__init__()Configuration.request_protocol_version()Configuration.set_horizontal_detection_threshold()Configuration.set_collision_detection_threshold()Configuration.set_double_tap_detection_threshold()Configuration.set_id_notification()Configuration.set_id_missed_notification()Configuration.set_magnetic_sensor()Configuration.set_motor_speed_information_acquisition()Configuration.set_posture_angle_detection()
- toio.cube.api.id_information module
- toio.cube.api.indicator module
- toio.cube.api.motor module
MotorControlMovementTypeRotationOptionTargetPositionSpeedChangeTypeSpeedMotorControlTargetWriteModeMotorControlMultipleTargetsAccelerationRotationAccelerationDirectionAccelerationPriorityMotorControlAccelerationMotorResponseCodeResponseMotorControlTargetResponseMotorControlMultipleTargetsResponseMotorSpeedMotorResponseTypeMotor
- toio.cube.api.sensor module
- toio.cube.api.sound module
SoundIdNoteNote.C0Note.CS0Note.D0Note.DS0Note.E0Note.F0Note.FS0Note.G0Note.GS0Note.A0Note.AS0Note.B0Note.C1Note.CS1Note.D1Note.DS1Note.E1Note.F1Note.FS1Note.G1Note.GS1Note.A1Note.AS1Note.B1Note.C2Note.CS2Note.D2Note.DS2Note.E2Note.F2Note.FS2Note.G2Note.GS2Note.A2Note.AS2Note.B2Note.C3Note.CS3Note.D3Note.DS3Note.E3Note.F3Note.FS3Note.G3Note.GS3Note.A3Note.AS3Note.B3Note.C4Note.CS4Note.D4Note.DS4Note.E4Note.F4Note.FS4Note.G4Note.GS4Note.A4Note.AS4Note.B4Note.C5Note.CS5Note.D5Note.DS5Note.E5Note.F5Note.FS5Note.G5Note.GS5Note.A5Note.AS5Note.B5Note.C6Note.CS6Note.D6Note.DS6Note.E6Note.F6Note.FS6Note.G6Note.GS6Note.A6Note.AS6Note.B6Note.C7Note.CS7Note.D7Note.DS7Note.E7Note.F7Note.FS7Note.G7Note.GS7Note.A7Note.AS7Note.B7Note.C8Note.CS8Note.D8Note.DS8Note.E8Note.F8Note.FS8Note.G8Note.GS8Note.A8Note.AS8Note.B8Note.C9Note.CS9Note.D9Note.DS9Note.E9Note.F9Note.FS9Note.G9Note.GS9Note.A9Note.AS9Note.B9Note.C10Note.CS10Note.D10Note.DS10Note.E10Note.F10Note.FS10Note.G10Note.NO_SOUND
MidiNotePlaySoundEffectPlayMidiStopSound