Livello Serbatoio v0.13
This project realizes a simple device to monitor the water level in a tank.
Loading...
Searching...
No Matches
Status flags

Variables

static volatile bool led_on
 Indicates if LED is turned on (true) or off (false).
 
static volatile bool led_status
 Indicates if LED is on or blinking (true) or off (false).
 
static volatile bool in_debug
 Indicates if the SW is in DEBUG mode (true) or NORMAL mode (false).
 
static volatile bool first_measure_done
 Establishes if the first measurements used to feed the Median Filter have been done (true) or not (false).
 
static volatile byte last_btn_status
 Indicates if the button was pressed (HIGH) of not (LOW), to detect long pressure.
 
static volatile int32_t err_code
 Contains the current error code (see Error Codes).
 
static volatile uint8_t measure_analysis
 Contains the current analysis result.
 

Detailed Description

Status variables.

Variable Documentation

◆ err_code

volatile int32_t err_code
static

Contains the current error code (see Error Codes).

◆ first_measure_done

volatile bool first_measure_done
static

Establishes if the first measurements used to feed the Median Filter have been done (true) or not (false).

◆ in_debug

volatile bool in_debug
static

Indicates if the SW is in DEBUG mode (true) or NORMAL mode (false).

◆ last_btn_status

volatile byte last_btn_status
static

Indicates if the button was pressed (HIGH) of not (LOW), to detect long pressure.

◆ led_on

volatile bool led_on
static

Indicates if LED is turned on (true) or off (false).

◆ led_status

volatile bool led_status
static

Indicates if LED is on or blinking (true) or off (false).

◆ measure_analysis

volatile uint8_t measure_analysis
static

Contains the current analysis result.