Raspberry Pi2, Grove Pi, I2C Motor Driver cannot communicate

I have the above configuration. Trying to communicate. I set the switches so it is address 07. when plugged in, the Motor Controller lights up. But I cannot communicate with it. I have a small snippet of code that gets the error. The call to wiringPiI2CSetup() returns fine.
The call to wiringPiI2CWrite() returns a -1. Can anyone shed some light on what else needs to be set up?

int main()
int fd ;
int error ;

printf("setup begin\n");
    printf("MotorSetup: Can't setup the I2C device\n");

error = wiringPiI2CWrite(fd, 255);
if(0 != error)
    printf(" error %d\n", error);
    return ;