mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-04 17:51:41 +02:00
Add power Modeling functions to all components
This commit is contained in:
@ -127,6 +127,19 @@ class Display{
|
||||
*
|
||||
*/
|
||||
void invertColor(void);
|
||||
|
||||
/**
|
||||
* @brief Estimate the current consumption of the display
|
||||
* @return consumed current in milliamperes
|
||||
*/
|
||||
float modelCurrentConsumption();
|
||||
|
||||
/**
|
||||
* @brief Estimate the energy consumption of the display
|
||||
* @param durationMs time the display will be on
|
||||
* @return consumed energy in coloumbs
|
||||
*/
|
||||
float modelChargeConsumptionOn(uint16_t durationMs);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user