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