// store slave address + W for use in ISR
slaveaddress = address << 1;