Problems with 16x2 LCD - writes fine but after 10s disintegrates to weird chars

... But I do know that analogWrite of 20 on A0 is equivalent to digitalWrite A0 to LOW.

That puts the contrast level at 0V which is acceptable for many displays, as evidenced by his photographs.

Don