Using serial-data to define Ax-pin - problem

JonKlose:
which tell that A6 and A7 are only input.

A6 and A7 are only analog inputs. (on an UNO or similar)