Fix consumption
This commit is contained in:
parent
e55a1b5fef
commit
5c58a1fa8a
2 changed files with 3 additions and 3 deletions
|
@ -209,7 +209,7 @@ void display_screen_battery(float battery_voltage, float battery_amps, float bat
|
|||
}
|
||||
|
||||
//Grid
|
||||
void display_screen_grid(float grid_power, float inv_power, float inv_current, float pv_wattage)
|
||||
void display_screen_grid(float grid_power, float consum, float inv_power, float inv_current, float pv_wattage)
|
||||
{
|
||||
logPrintlnD("Refresh Grid display values...");
|
||||
display.firstPage();
|
||||
|
@ -219,7 +219,7 @@ void display_screen_grid(float grid_power, float inv_power, float inv_current, f
|
|||
display.setCursor(10,45); display.print(grid_power,0); display.print("W");
|
||||
display.setCursor(40,54); display.print(inv_power,0); display.print("W");
|
||||
display.setCursor(40,63); display.print(inv_current,1); display.print("A");
|
||||
display.setCursor(87,20); display.print(grid_power,0); display.print("W");
|
||||
display.setCursor(87,20); display.print(consum,0); display.print("W");
|
||||
|
||||
if (show_pv_chg_screen)
|
||||
{
|
||||
|
|
|
@ -34,5 +34,5 @@ void display_text_fullscreen(char* TEXT1, char* TEXT2, char* TEXT3, char* TEXT4,
|
|||
void display_header(char* TEXT);
|
||||
void display_screen_pv(float pv_voltage, float pv_wattage, float battery_voltage, float pv_amps, float pv_kwh);
|
||||
void display_screen_battery(float battery_voltage, float battery_amps, float battery_wattage, float battery_soc, float batt_cell_v_min, float batt_cell_v_max);
|
||||
void display_screen_grid(float grid_power, float inv_power, float inv_current, float pv_wattage);
|
||||
void display_screen_grid(float grid_power, float consum, float inv_power, float inv_current, float pv_wattage);
|
||||
void display_screen_graph(float values[100]);
|
||||
|
|
Loading…
Reference in a new issue