-
Notifications
You must be signed in to change notification settings - Fork 24
/
FORCE.ino
37 lines (29 loc) · 1.15 KB
/
FORCE.ino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* char freq[5] = "00.0";
char sigQ[5] = "00.0";
char heath[6] = "000.0";
char acv[6] = "000.0";
char dcc[4][5] = {"00.0", "00.0", "00.0", "00.0"}; // ampere <100
char dcv[4][5] = {"00.0", "00.0", "00.0", "00.0"}; // volt <100
char power[5][6]={"000.0", "000.0", "000.0", "000.0", "000.0"}; //watt < 1000
float en_total = 0;
dtostrf(float_value, min_width, num_digits_after_decimal, where_to_store_string)
*/
/* strcpy(Inv_Data[z].acv, "220.1");
strcpy(Inv_Data[z].heath, "16.2");
// now for all panels
strncpy(Inv_Data[z].dcc[0], "01.23", 5);
strncpy(Inv_Data[z].dcv[0], "30.11", 5);
strncpy(Inv_Data[z].power[0], "100.11", 6);
strncpy(Inv_Data[z].dcc[1], "01.24", 5);
strncpy(Inv_Data[z].dcv[1], "31.22", 5);
strncpy(Inv_Data[z].power[1], "101.22", 6);
strncpy(Inv_Data[z].dcc[2], "01.25", 5);
strncpy(Inv_Data[z].dcv[2], "32.33", 5);
strncpy(Inv_Data[z].power[2], "102.33", 6);
strncpy(Inv_Data[z].dcc[3], "01.26", 5);
strncpy(Inv_Data[z].dcv[3], "33.44", 5);
strncpy(Inv_Data[z].power[3], "103.44", 6);
Inv_Data[z].en_total = 407.0;
}
*/
//}