4 #include "../hubolib.h"
23 printf (
"Error: Initialize\n");
32 unsigned long adcCount;
34 for (
int i=0; i<20; i++)
39 printf (
"Channel=%d ADC count=0x%02lX Volts=%lf\n", channel, adcCount, volt);
47 printf (
"Error: Get_AI_Channel\n");
#define MAX_MCP3x08_CHANNELS
bool Initialize()
Initializes the library.
void Uninitialize()
Releases any resources bound to the library.