4 #include "../hubolib.h"
5 #include "../hubocfg.h"
38 printf (
"Error: Initialize\n");
44 printf (
"Lower input 2 in order to switch to a higher cycle time of 1s.\n");
46 unsigned char allInputs = 0;
52 printf (
"Digital inputs (hex) = 0x%02X\n", allInputs);
67 printf (
"Lower input 1 in order to switch to a higher cycle time of 1s.\n");
72 printf (
"Digital inputs (hex) = 0x%02X\n", allInputs);
const char * m_sI2CDevice
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.