ANALOG OUTPUT (PHOTON) doesn't work

Do you get the same behavior if you use pin A7 ?