-
Notifications
You must be signed in to change notification settings - Fork 0
Constants and Defines
github-actions[bot] edited this page Aug 11, 2026
·
3 revisions
Global preprocessor macros and defines:
| Macro / Define | Value | Description |
|---|---|---|
MIP_ASSERT |
mipAssert((EXPRESSION), __LINE__, __FILE__) |
|
MIP_DEBUG_ERROR |
1 |
|
MIP_DEBUG_ERROR_PRINT |
||
MIP_DEBUG_ERROR_PRINTF |
||
MIP_DEBUG_ERROR_PRINTLN |
||
MIP_DEBUG_INFO |
3 |
|
MIP_DEBUG_INFO_PRINT |
||
MIP_DEBUG_INFO_PRINTF |
||
MIP_DEBUG_INFO_PRINTLN |
||
MIP_DEBUG_LEVEL |
MIP_DEBUG_NONE |
|
MIP_DEBUG_NONE |
0 |
|
MIP_DEBUG_WARN |
2 |
|
MIP_DEBUG_WARN_PRINT |
||
MIP_DEBUG_WARN_PRINTF |
||
MIP_DEBUG_WARN_PRINTLN |
||
MPU_D1_MINI_VERSION |
"2.0.1" |
|
MPU_D1_MINI_VERSION_MAJOR |
2 |
|
MPU_D1_MINI_VERSION_MINOR |
0 |
|
MPU_D1_MINI_VERSION_NUMBER |
(MPU_D1_MINI_VERSION_MAJOR * 10000 + MPU_D1_MINI_VERSION_MINOR * 100 + \ MPU_D1_MINI_VERSION_PATCH) |
|
MPU_D1_MINI_VERSION_PATCH |
1 |
|
mDebug |
{ \ if (debug.isActive(debug.ANY)) \ debug.printf(__VA_ARGS__); \ } |
|
mDebugD |
{ \ if (debug.isActive(debug.DEBUG)) \ debug.printf(__VA_ARGS__); \ } |
|
mDebugE |
{ \ if (debug.isActive(debug.ERROR)) \ debug.printf(__VA_ARGS__); \ } |
|
mDebugI |
{ \ if (debug.isActive(debug.INFO)) \ debug.printf(__VA_ARGS__); \ } |
|
mDebugP |
{ \ if (debug.isActive(debug.PROFILER)) \ debug.printf(__VA_ARGS__); \ } |
|
mDebugV |
{ \ if (debug.isActive(debug.VERBOSE)) \ debug.printf(__VA_ARGS__); \ } |
|
mDebugW |
{ \ if (debug.isActive(debug.WARNING)) \ debug.printf(__VA_ARGS__); \ } |
- 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