video fadeout question!

any possible code for me,

int rawLightLevel = analogRead(ldrPin);
There you go.