Error: "using obsolete binding" in sketch

Why have you even got i2?
There's no reason not to reuse i