Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

I2C Issue connecting between Arduino Unos

$
0
0
First time I have tried this and it's not working. Second Uno is power but the sketch is not loading into it apparently. Seems to work on 1st UNO and after the 2nd UNO times out failing to connect the sketch runs in the 1st UNO.

C:
//Communicating Between Arduino Units
#include<Wire.h>
#include<TimerOne.h>

int state = 0;
int value;
long int newtime;

void setup() {
  Wire.begin(1);
  Wire.onReceive(gotRate);
  pinMode(13, OUTPUT);
  digitalWrite(13, state);
}

void loop() {
  }...
I2C Issue connecting between Arduino Unos

Viewing all articles
Browse latest Browse all 4923

Trending Articles