Skip to content

MiP_Weight

github-actions[bot] edited this page Aug 11, 2026 · 9 revisions

Class MiP_Weight

Manages reading weight data measured by MiP.

Table of Contents


Public Functions

read

Signature: int8_t read()

Summary: Reads the current weight on MiP's weight sensor.

Details:

Uses cached weight data from a recent Out-Of-Band status event if available; otherwise performs a direct query with automatic retries on communication error.

Returns: int8_t Current payload weight in grams (signed), or 0 on error.


Clone this wiki locally