Pages: [1]   Go Down
Author Topic: Which Wire Library Functions Require Slave c2i Device Stacked on Arduino Uno?  (Read 264 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 1
Posts: 287
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Which Wire library functions requires the slave c2i device stacked on Arduino Uno?  Does requestFrom(addy, quantity) or available() require the slave c2i device?  thanks! smiley-roll-sweat
Logged

peace*&^

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8975
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you mean I2C?  You use the Wire library to communicate with I2C and TWI devices.  If you don't have an I2C or TWI device connected to the I2C pins then the Wire library won't be of any use.

None of the functions of the Wire library "require" that you have a device to communicate with.  If you address a device that is not present the communication will fail.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: