Using serial-data to define Ax-pin - problem

On an uno, A0 equals 14. So you can add an offset of 14 to the received pin number and use that number in your code

digitalWrite(number, HIGH);

If needed, you can simply print A0 etc for other boards to find the offset.