Name
i2c_read —
receives a byte
Synopsis
#include <i2c.h>
bool ack
;
Arguments
ack
the acknowledge bit to return
Description
Receives a byte from a slave. The ack
parameter indicates, whether
to acknowledge the received byte or not. Returns the byte received.