Skip to content
/ I2c Public

This Repo include basic master and slave communication between two or MCUs (Arduino in our case) We have showcased the basic transfer protocol between Master and Slave Arduino. The master and slave code both have receive and request protocols. The MASTER code includes Transmission protocol (beginTransmission) to send data to slave and request pr…

Notifications You must be signed in to change notification settings

Tanvesh-11/I2c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

I2c

This Repo include basic master and slave communication between two or MCUs (Arduino in our case).

We have showcased the basic transfer protocol between Master and Slave Arduino. The master and slave code both have receive and request protocols.

The MASTER code includes Transmission protocol (beginTransmission) to send data to slave and request protocol to receive data from slave. The SLAVE code includes Receive protocol to receive data from master and Onrequest protocol to send data to Master. We have used I2C_Anything.h library which can help U receive/send any data type including long, float, char, etc. The normal Wire.h library has no such function available and U can send data only up to int value 255.

An additional Broadcasting code is also included wherin the master can send same data to all its slave simultaneously.

About

This Repo include basic master and slave communication between two or MCUs (Arduino in our case) We have showcased the basic transfer protocol between Master and Slave Arduino. The master and slave code both have receive and request protocols. The MASTER code includes Transmission protocol (beginTransmission) to send data to slave and request pr…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages