4 #include "../hubolib.h"
5 #include "../hubocfg.h"
19 #define WAIT_TIME 10000
32 printf (
"Error: Initialize\n");
43 int channelPattern [10] = {0, 1, 1, 1, -1};
52 int value = channelPattern[patternRover++];
const char * m_sI2CDevice
bool Set_DO_Channel(int channel, bool bValue)
Requests the background thread to set one of the digital outputs to the value specified.
bool Initialize()
Initializes the library.
bool Set_Cycle_Time(long cycleTime)
Sets the backgrounds threads polling interval in ms.
void Uninitialize()
Releases any resources bound to the library.