void enumeratePorts(PBYTE Buffer);
WORD open(LPSTR port);
void close();
void reportAnalog(WORD channel, WORD enable);
void reportDigital(WORD port, WORD enable);
void pinMode(WORD pin, WORD mode);
void servo(WORD pin);
void digitalWrite(WORD pin, WORD value);
void analogWrite(WORD pin, DWORD value);
void setSamplingInterval(DWORD value);
WORD digitalRead(WORD pin);
DWORD analogRead(LPSTR channel);
void configI2C(DWORD value);
void reportI2C(WORD address, WORD reg, DWORD bytes);
void writeI2C(WORD address, PCSTR data);
DWORD readI2C(WORD address, WORD reg, PBYTE Buffer);
DWORD readI2COnce(WORD address, WORD reg, DWORD bytes, PBYTE Buffer);