How to make led grow on analog pin

What is the code to make analog pin A0 as output pin and what is the problem .

@indus19

Have you already written the code to control the LED using pin 0? Are you able to control the pin using the same?

I do know the code can send me the code for analog pin

You can just supply the value ranging between 0 to 255 with the analog pin and it will work.

int value = 255;
analogWrite(ledPin, value);

In the place of led pin should I write A0 OR any other pls tell.

Did you try analogWrite(‘A0’, 255) ?

Do I need to write analogWrite(‘A0’,255).