I have Included these 2 libraries
#include <SPI.h>
#include <Wire.h>
I Begin I2C with this Func
Wire.begin();
I am sending following commands on I2C
Wire.beginTransmission(1);
Wire.write(mode);
Wire.write(0);
Wire.write(0);
Wire.endTransmission();
All Works Well Until I Begin Spi like:
SPI.begin();
then I2C doesn't Work
Kindly Help What I am doing wrong ?