Reference.WireEndTransmission History

Show minor edits - Show changes to markup

March 16, 2012, at 08:29 PM by Scott Fitzgerald -
Changed lines 11-12 from:

If false, endTransmission() sends a restart message after transmission. The bus will not be released, which prevents another master device from transmitting between messages.

to:

If false, endTransmission() sends a restart message after transmission. The bus will not be released, which prevents another master device from transmitting between messages. This allows one master device to send multiple transmissions while in control.

March 16, 2012, at 07:59 PM by Scott Fitzgerald -
Changed lines 22-23 from:

stop : boolean. true will send a STOP releasing the bus. false will continually send start requests, keeping the connection active.

to:

stop : boolean. true will send a stop message, releasing the bus after transmission. false will send a restart, keeping the connection active.

March 16, 2012, at 07:51 PM by Scott Fitzgerald - clarifying true/false
Changed lines 5-10 from:

Ends a transmission to a slave device that was begun by beginTransmission() and actually transmits the bytes that were queued by write().

Starting with Arduino 1.0.1, endTransmission() will accept a boolean argument changing its behavior for compatibility with certain I2C devices. If true, it will send a STOP, releasing the I2C bus after the transmission. If false, the function will send a repeated start message so the next transmission with the master device will happen automatically. When false, the bus will not be released between transmissions.

The default value is true, same as previous versions of the function.

to:

Ends a transmission to a slave device that was begun by beginTransmission() and transmits the bytes that were queued by write().

As of Arduino 1.0.1, endTransmission() accepts a boolean argument changing its behavior for compatibility with certain I2C devices.

If true, endTransmission() sends a stop message after transmission, releasing the I2C bus.

If false, endTransmission() sends a restart message after transmission. The bus will not be released, which prevents another master device from transmitting between messages.

The default value is true.

March 15, 2012, at 02:14 AM by Scott Fitzgerald -
Changed lines 7-10 from:

As of Arduino 1.0.1, endTransmission() will accept a boolean argument changing its behavior for compatibility with certain I2C devices. If TRUE, it will send a STOP, releasing the I2C bus after the transmission. If FALSE, the function will send a repeated start message so the next transmission with the master device will happen automatically. When FALSE, the bus will not be released between transmissions.

The default value is TRUE, same as previous versions of the function.

to:

As of Arduino 1.0.1, endTransmission() will accept a boolean argument changing its behavior for compatibility with certain I2C devices. If true, it will send a STOP, releasing the I2C bus after the transmission. If false, the function will send a repeated start message so the next transmission with the master device will happen automatically. When false, the bus will not be released between transmissions.

The default value is true, same as previous versions of the function.

Changed lines 18-19 from:

stop : boolean. TRUE will send a STOP releasing the bus. FALSE will continually send start requests, keeping the connection active.

to:

stop : boolean. true will send a STOP releasing the bus. false will continually send start requests, keeping the connection active.

March 14, 2012, at 06:38 PM by Scott Fitzgerald -
Changed lines 7-8 from:

As of Arduino 1.0.1, endTransmission() will accept a boolean argument changing its behavior for compatibility with certain I2C devices. If TRUE, it will send a STOP, releasing the I2C bus after the transmission. If FALSE, the function will send a repeated start message so the next transmission to the master device will happen automatically. When FALSE, the bus will not be released between transmissions.

to:

As of Arduino 1.0.1, endTransmission() will accept a boolean argument changing its behavior for compatibility with certain I2C devices. If TRUE, it will send a STOP, releasing the I2C bus after the transmission. If FALSE, the function will send a repeated start message so the next transmission with the master device will happen automatically. When FALSE, the bus will not be released between transmissions.

March 14, 2012, at 06:32 PM by Scott Fitzgerald -
Changed lines 9-10 from:

The default value is TRUE.

to:

The default value is TRUE, same as previous versions of the function.

March 14, 2012, at 06:30 PM by Scott Fitzgerald -
Changed lines 7-8 from:

As of Arduino 1.0.1, endTransmission() will accept a boolean argument changing its behavior for certain I2C devices. If TRUE, it will send a STOP, releasing the I2C bus after the request. If FALSE, the function will send a repeated start request so the next transmission with the master device will happen automatically. When FALSE, the bus will not be released between transmissions.

to:

As of Arduino 1.0.1, endTransmission() will accept a boolean argument changing its behavior for compatibility with certain I2C devices. If TRUE, it will send a STOP, releasing the I2C bus after the request. If FALSE, the function will send a repeated start request so the next transmission with the master device will happen automatically. When FALSE, the bus will not be released between transmissions.

March 14, 2012, at 06:30 PM by Scott Fitzgerald -
Changed lines 7-8 from:

As of Arduino 1.0.1, endTransmission will accept a boolean argument. If TRUE, it will send a STOP, releasing the I2C bus after the request. If FALSE, the function will send a repeated start request so the next transmission with the master device will happen automatically. When FALSE, the bus will not be released between transmissions.

to:

As of Arduino 1.0.1, endTransmission() will accept a boolean argument changing its behavior for certain I2C devices. If TRUE, it will send a STOP, releasing the I2C bus after the request. If FALSE, the function will send a repeated start request so the next transmission with the master device will happen automatically. When FALSE, the bus will not be released between transmissions.

March 14, 2012, at 06:29 PM by Scott Fitzgerald -
Changed line 13 from:

Wire.endTransmission()

to:

Wire.endTransmission()\\

March 14, 2012, at 06:21 PM by Scott Fitzgerald - added additional parameter
Added lines 7-15:

As of Arduino 1.0.1, endTransmission will accept a boolean argument. If TRUE, it will send a STOP, releasing the I2C bus after the request. If FALSE, the function will send a repeated start request so the next transmission with the master device will happen automatically. When FALSE, the bus will not be released between transmissions.

The default value is TRUE.

Syntax

Wire.endTransmission() Wire.endTransmission(stop)

Changed lines 18-19 from:

None

to:

stop : boolean. TRUE will send a STOP releasing the bus. FALSE will continually send start requests, keeping the connection active.

December 06, 2011, at 06:57 AM by Scott Fitzgerald -
Changed lines 14-19 from:
0
success
1
data too long to fit in transmit buffer
2
received NACK on transmit of address
3
received NACK on transmit of data
4
other error
to:
  • 0:success
  • 1:data too long to fit in transmit buffer
  • 2:received NACK on transmit of address
  • 3:received NACK on transmit of data
  • 4:other error
December 06, 2011, at 06:56 AM by Scott Fitzgerald -
Changed lines 14-19 from:
0
success
1
data too long to fit in transmit buffer
2
received NACK on transmit of address
3
received NACK on transmit of data
4
other error
to:
0
success
1
data too long to fit in transmit buffer
2
received NACK on transmit of address
3
received NACK on transmit of data
4
other error
December 06, 2011, at 06:54 AM by Scott Fitzgerald -
Changed lines 5-6 from:

Ends a transmission to a slave device that was begun by beginTransmission() and actually transmits the bytes that were queued by send().

to:

Ends a transmission to a slave device that was begun by beginTransmission() and actually transmits the bytes that were queued by write().

Changed line 23 from:
to:
July 12, 2010, at 05:09 PM by David A. Mellis -
Changed lines 13-14 from:

None

to:

byte, which indicates the status of the transmission:

0
success
1
data too long to fit in transmit buffer
2
received NACK on transmit of address
3
received NACK on transmit of data
4
other error
July 02, 2008, at 05:29 PM by David A. Mellis -
Added lines 1-18:

Wire.endTransmission()

Description

Ends a transmission to a slave device that was begun by beginTransmission() and actually transmits the bytes that were queued by send().

Parameters

None

Returns

None

See Also

Share