Data Fields
waste_level_result_t Struct Reference

Result type. More...

`#include <example_waste_level.h>`

## Data Fields
bool | level_found
float | level_m
uint8_t | level_percent

## Detailed Description

Result type.

Definition at line 63 of file example_waste_level.h.

## Field Documentation

## ◆ level_found

bool waste_level_result_t::level_found

True if a level was found, false otherwise. Note: The other fields are valid if and only if level_found == true.

Definition at line 68 of file example_waste_level.h.

## ◆ level_m

float waste_level_result_t::level_m

The fill level in meters, measured from the bottom.

Definition at line 71 of file example_waste_level.h.

## ◆ level_percent

uint8_t waste_level_result_t::level_percent

The fill level in percent.

Definition at line 74 of file example_waste_level.h.

The documentation for this struct was generated from the following file:

- Inc/example_waste_level.h