| 47 | |
| 48 | |
| 49 | void Max44009::configure(const uint8_t address, TwoWire *wire, const Boolean begin) |
| 50 | { |
| 51 | _address = address; |
| 52 | _data = 0; |
| 53 | _error = MAX44009_OK; |
| 54 | _wire = wire; |
| 55 | |
| 56 | if (begin == Boolean::True) |
| 57 | { |
| 58 | _wire->begin(); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | |
| 63 | bool Max44009::isConnected() |