A822_DO(0x0021);

 

/* Send D/O data to OME-DB-889D , Channel 1, Gain=10 */

delay(10);

/* delay about 43u sec , Ref. Page 3 Setting time*/

data2=A822_AD_PollingVar();

/* Reading OME-A-822 A/D data */

vol2=(float)((data2-2048)*0.5/2048); printf(“OME-DB-889D channel 1= %6.4f V\n”,vol2);

}

}

OME-DB-889D User’s Manual

22

Page 24
Image 24
Omega Speaker Systems OME-DB-889D manual