byte WR = Wire.receive();
What is that for? That will be called before setup() and your call to Wire.begin().