int start()
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns | Description |
---|---|
error | returns 1 if start condition was successfully sent, otherwise an error has occurred |
The start() method generates a start condition on the I2C bus. It returns 1 if the start was successful. Otherwise an error code is returned (0 for bus error or -3 for timeout).
Example
The following example excludes the write, restart(), and stop() method calls which are required for an I2C communication.
i2c.start();
See also:
Copyright © demmel products gmbh. All rights reserved.