klzng
This commit is contained in:
parent
a9498c8f62
commit
4d276155d7
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@ bool Adafruit_I2CDevice::detected(void) {
|
||||||
// A basic scanner, see if it ACK's
|
// A basic scanner, see if it ACK's
|
||||||
_wire->beginTransmission(_addr);
|
_wire->beginTransmission(_addr);
|
||||||
#ifdef DEBUG_SERIAL
|
#ifdef DEBUG_SERIAL
|
||||||
DEBUG_SERIAL.print(F("Address 0x"));
|
DEBUG_SERIAL.print(F("Address 0x"));
|
||||||
DEBUG_SERIAL.print(_addr);
|
DEBUG_SERIAL.print(_addr);
|
||||||
#endif
|
#endif
|
||||||
if (_wire->endTransmission() == 0) {
|
if (_wire->endTransmission() == 0) {
|
||||||
#ifdef DEBUG_SERIAL
|
#ifdef DEBUG_SERIAL
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue