Text: |
ԲΠ= Òû
Çàïèòàííÿ:int v = 2047;
Do(1, 0, 17, 50);
Do(3, 0, 17, 50);
Do(3, 0, 16, v);
for (int i = 5; i <= 15; i++)
{
Do(1, 0, 16, i*100);
Time.Pause(36);
int res_0 = Do(2, 0, 0, 0);
int res_1 = Do(4, 0, 0, 0);
double res0 = res_0 / 2047.0;
double res1 = (res_1) / 2047.0;
double temp=78.0+res0*0.015;
double R_x = 1000.0*res1/(5.0-res1);
string buf = String.Format("{0:0.#######}\t{1:0.#######}", temp, R_x);
C.write(buf);
}
====================================
|