mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
21 lines
627 B
C
21 lines
627 B
C
#ifndef CELLMONITOR_H
|
|
#define CELLMONITOR_H
|
|
|
|
#include <Arduino.h>
|
|
#include <stdint.h>
|
|
#include "../config.h" // Needed for defines
|
|
|
|
extern uint16_t system_cell_max_voltage_mV; //mV, 0-5000, Stores the highest cell millivolt value
|
|
extern uint16_t system_cell_min_voltage_mV; //mV, 0-5000, Stores the minimum cell millivolt value
|
|
extern uint16_t system_cellvoltages_mV[MAX_AMOUNT_CELLS]; //Array with all cell voltages in mV
|
|
|
|
/**
|
|
* @brief Replaces placeholder with content section in web page
|
|
*
|
|
* @param[in] var
|
|
*
|
|
* @return String
|
|
*/
|
|
String cellmonitor_processor(const String& var);
|
|
|
|
#endif
|