Using serial-data to define Ax-pin - problem

Thanks for the replies.

I have figured it out now after reading your input
and this post...
https://forum.arduino.cc/index.php?topic=412850.0
which tell that A6 and A7 are only input.

Thank you for helping a beginner :slight_smile: