MajorLee95/nanoI2CIOExpander

address bug in begin method

MajorLee95 opened this issue · 1 comments

In file nanoI2CIOExpLib.cpp (line 28):
code:
void CNanoI2CIOExpander::begin( int add ){
Wire.begin();
Wire.beginTransmission(NANOEXP_ADDRESS);
take into account add parameter.

Same error in writeRegister and readRegister methods