Pages: [1]   Go Down
Author Topic: I2C Monitoring and Controlling IO lines.  (Read 633 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm trying to transfer and receive data on 2  Arduino Uno devices.  The master sends a byte of data to light one of 7 LEDs on the slave at address of 0x60.  The slave sends back the status of 7 switch positions (unrelated to the LED lines) on the slave's IO lines in the form of a byte to the master.  I would like to view the byte representing the switch positions on the serial monitor for the master - confirming that it was received and processed. I've been able to run sketches that transmit data or receive data, as soon as I move to both, I get a series of errors. 

Does anyone have some sketches to perform the transmit and receive functions with I2C?  Please advise, thank you, Jerry
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Please advise
I advised you in your other thread to post the code and errors.
Logged

Pages: [1]   Go Up
Jump to: