Wire.requestFrom

Name
Wire.requestFrom

Description
It allows to the master to request data from the slave

Syntax
u8 I2C_requestFrom(u8 address, u8 quantity)
 * Parameters:
 * u8 address is the slave address (MCU or peripheral device)
 * u8 quantity is the number of bytes requested


 * Returns/Output;
 * the number of bytes really found in rx buffer

Example

 * Master_reader_I2C