, , , () .
, , , . . , , .. .
, .
, , , , ()
#define STAT 0x309 /* */
#define CNTRL 0x30C /* */
#define ADC 0x308 /*: */
#define STRTAD 0x30A /* */
main ()
{
int per100, per500, adcx, slope, chastota;
char c =0
outp(CNTRL, 2): /* */
/* */
outp(ADC, 2): /* 1*/
cprintf( 1: n=100/. \n);
cprintf( 2 . \n);
while (!kbhit()); /* */
per100=get_data() /* 100 /*/
cprintf( 2: n=500/ \n);
cprintf( 8 . \n);
while (!kbhit()); /* */
per500=get_data()
slope = 400/(per500-per100); /* */
/* */
cprintf( . \n);
cprintf( . \n);
while(c! = e) /*, */
{
if (kbhit() /* , */
{
adcx = get_data();
chastota = slope*((adcx*882/rad)^0,5 per100); /* */
cprintf( = %d \n, chastota);
c = getch();
}
}
}
get = data()
{
int datum;
outp(STRTAD); /* */
while(!(inp(STAT)&2)); /* */
datum = inp(ADC);
return (datum);
}
1/150 . , 51805-2001 , . 28204-89 . 2. . Ga : .
|
|
42 71 90
9032 810009
3.
-5, :
;
Δl/l % - 0.2
S 3
I,mA - 30
11
5
1. .. .: , 1982 .1, 1982. 528 ., .
2. , . . 2 . 2 . ., , ., . . . .: . 1978. 439 .
3. . . , , . . III-7- . . .. .: , 1996 464.
4. . .. .: , 1993 573 .
5. 51805-2001 ,
6. 30630.0.0-99 , .