Open the SoftI2CMaster.h file and add definitions for the I2C Port and Pins:
#define SDA_PORT PORTx
#define SDA_PIN y
#define SCL_PORT PORTx
#define SCL_PIN z
#define SDA_PIN y
#define SCL_PORT PORTx
#define SCL_PIN z
Where 'x' is the port letter or number of the I2C master, and 'y' and 'z' are the pin numbers of SDA and SCL respectively.
For example, the Arduino Nano has SDA on PC4 and SCL on PC5. For this board, you would add the following definitions:
For example, the Arduino Nano has SDA on PC4 and SCL on PC5. For this board, you would add the following definitions:
#define SDA_PORT PORTC
#define SDA_PIN 4
#define SCL_PORT PORTC
#define SCL_PIN 5
#define SDA_PIN 4
#define SCL_PORT PORTC
#define SCL_PIN 5