-
Notifications
You must be signed in to change notification settings - Fork 0
MiP_Shake
Manages whether MiP has been shaken.
Signature: MiP_Shake(MiP &mip)
Summary: Constructs the shake manager.
Parameters:
| Parameter | Description |
|---|---|
mip |
A reference to the main MiP object to access core services. |
Signature: bool read()
Summary: Checks whether the MiP has been shaken since the last call.
Details:
Uses cached data from status events. The shake flag is cleared after returning true (one-shot detection).
Returns: true if a shake was detected since the last call to this function.
Signature: constexpr uint8_t MIP_CMD_SHAKE_RESPONSE
Summary: MiP protocol command bytes used by the shake-detection subsystem.
Details:
These values are placed in the first byte of requests sent to the MiP (and appear in the corresponding responses). See the official MiP BLE Protocol for the complete list.
🔗 Quick Links: Main Repository • Report an Issue • Wiki Home
An open-source API for the WowWee MiP Robot. Licensed under Apache-2.0.
- MiP
- MiPChestLED
- MiPClapSettings
- MiPDebug
- MiPHardwareInfo
- MiPHeadLEDs
- MiPIRDongleCode
- MiPSoftwareVersion
- MiPStatus
- MiP_Battery
- MiP_ChestLED
- MiP_Clap
- MiP_EEPROM
- MiP_Gesture
- MiP_HeadLEDs
- MiP_Infrared
- MiP_Mode
- MiP_Motion
- MiP_Odometer
- MiP_Position
- MiP_Radar
- MiP_Serial
- MiP_Shake
- MiP_Sound
- MiP_Version
- MiP_Weight
- MiP_WiFi