![]() |
eBoard
①⑧⑨
Written for SIA 2017/2018
|
this file contains cool stuff to access the I²C interface More...
Go to the source code of this file.
Functions | |
optVAL_t | sendI2C (optVAL_t deviceID, byte *buf, byte buf_len) |
Sends a buffer of bytes to a certain I²C-Device. More... | |
optVAL_t | sendI2C (optVAL_t deviceID, byte buf) |
Sends a byte to a certain I2C-Device. More... | |
void | pingI2C (optVAL_t ret[], optVAL_t ret_len) |
Sends a byte to a certain I²C-Device. More... | |
void | readI2C (optVAL_t deviceID, optVAL_t ret[], optVAL_t ret_len, bool blocking=true) |
Reads a special amount of bits from a certain I²C-Device. More... | |
this file contains cool stuff to access the I²C interface
Last Updated:
Definition in file eagle_I2C.h.
Sends a byte to a certain I²C-Device.
ret | an array of optVAL_t |
ret_len | the length of the array |
Reads a special amount of bits from a certain I²C-Device.
deviceID | the target device |
ret | the buffer to send |
ret_len | size of buffer |
blocking | should the Arduino wait until there is Data? |
Sends a buffer of bytes to a certain I²C-Device.
deviceID | the target device |
buf | the buffer to send |
buf_len | size of buffer |
Sends a byte to a certain I2C-Device.
deviceID | the target device |
buf | the buffer to send |