Three easy ways to return to the standard program combination are to:
1.) flip to a different mode and back to P, or
2.) turn the D40 off and back on, or
3.) spin the rear dial back to its original position.
The *P symbol goes away when you've returned to the standard combinations.
The standard combinations are f/4 at 1/60, f/5.6 @ 1/125, f/8 @ 1/250, f/11 @ 1/500, etc.
A shifted set might use f/4 @ 1/1,000, f/8 @ 1/500 or might use f/4 @ 1/2, f/5.6 @ 1 sec, etc. Don't worry, just flick the rear dial until you get the combination you prefer.
The lens error is due to failure of the lens control system. You can remove battery and card replace battery and while switching on tap the lens hood on your hands so as to disengage any dirt or mechanism being struck.
Use some air to blow between the lens to dislodge any sand particles struck inside. If none of these works then you can think of taking consensus with the service centre.
get estimate before you decide. It will be good to have it checked at the Nikon service as you do not have to run around for spares.
731 questions posted
Usually answered in minutes!
616 Questions
504 Questions
483 Questions
426 Questions
404 Questions