C

Pico ADC-16

C

Top  Previous  Next

 

Windows

The C example program is a generic windows application; that is, it does not use Borland AppExpert or Microsoft AppWizard. To compile the program, create a new project for an Application containing the following files:

               adc16tes.c

               adc16tes.rc

either                adc1632.lib (Borland 32-bit applications)

or                adc16ms.lib (Microsoft Visual C 32-bit applications)

 

The following files must be in the same directory:

 

               adc16tes.rch

               adc16.h

               adc1632.dll (All 32-bit applicaitons)

 

C++

C++ programs can access all versions of the driver. If adc16.h is included in a C++ program, the PREF1 macro expands to extern "C": this disables name-decoration and enables C++ routines to make calls to the driver routines using C headers.