Library for MAX7300 GPIO Expander
Diff: max7300.cpp
- Revision:
- 5:c4d2978bdebb
- Parent:
- 4:4ffbd5539b69
- Child:
- 6:3674af0a03cf
--- a/max7300.cpp Fri Jul 24 01:54:41 2015 +0000 +++ b/max7300.cpp Fri Aug 14 04:26:02 2015 +0000 @@ -153,7 +153,7 @@ if(!result) { //get current port configuration register - result = _p_i2c->read(_w_adrs, (data + 1), 1, true); + result = _p_i2c->read(_w_adrs, (data + 1), 1, false); if(!result) { @@ -391,7 +391,7 @@ if(!result) { //get current configuration register - result = _p_i2c->read(_w_adrs, (local_data + 1), 1, true); + result = _p_i2c->read(_w_adrs, (local_data + 1), 1, false); if(!result) {