I am trying to use the I2C communication using SDA(1)-SCL(1) and also by using SDA(2)-SCL(2) with library wire.h, but it is not working. wire1 or wire2 are also not available, how to use the I2C with SDA(2)-SCL(2) using energia.
Following is the program tried for the for SDA(0)-SCL(0) but it is also not working.
#include <Wire.h>
void setup() {
Wire.begin(); // join i2c bus (address optional for master)
Serial.begin(9600); // start serial for output
}
void loop() {
Wire.requestFrom(8, 6); // request 6 bytes from slave device #8
while (Wire.available()) { /