Syntax
void beginTransmission(
    uint8_t address
);
ContentsIndex
PreviousUpNext
TwoWire::beginTransmission Method (uint8_t)
TwoWire Class | Example
Syntax
void beginTransmission(
    uint8_t address
);
Description

Enables the communication with the slave at an assigned address. After that, the data are written by using write() and transmitted by using endTransmission().

Parameters
Parameters 
Description 
uint8_t address 
[IN] The address of the assigned slave, a 7-bit address, from 0 to 127. 
Example
#include <Wire.h>
void setup()
{
    Wire.begin();
}
void loop()
{
    Wire.beginTransmission(0x27);
    Wire.write('a');
    Wire.endTransmission();
}
File

Wire.h

Class