Syntax
uint8_t requestFrom(
    int address, 
    int quantity
);
ContentsIndex
PreviousUpNext
TwoWire::requestFrom Method (int, int)
TwoWire Class
Syntax
uint8_t requestFrom(
    int address, 
    int quantity
);
Description

Enables a master to request data from a slave and get data by using available() and read()functions.

Parameters
Parameters 
Description 
int address 
[IN]The address: the 7-bit slave address. 
int quantity 
[IN]The quantity: number of bytes requested. 
Returns

Number of bytes returned from a slave.

File

Wire.h

Class