probably better to make a helper function out of this where you can check #if USE_I2Cx inside as well...