#include "utility/template/i2c.h"
uint8_t cirque_pinnacle_arduino_wrappers::TwoWire::endTransmission(uint8_t sendStop = false);

Terminate transactions on the bus.

This function is used to send the bytes in the internal buffer (set with write()) over the bus with an optional stop condition.

Note

This will also reset the internal buffer.

Parameters:
uint8_t sendStop = false

If set to a non-zero value, then a stop condition is sent over the bus.

  • This parameter is ignored on Linux implementations.

Returns:

The number of bytes sent over the bus.