added message to console when switching from serial to i2c and vice-versa