AnalogRead not in scope

Hi,

I am trying to read the value from a sensor connected to pin 7 and when I verify using the arduino IDE I get the message that analogRead() is not in scope.

Could anyone give any guidance. This would be much appreciated.

Thanks

What did you use in your sketch,
analogRead (like in the text) or
AnalogRead() (like in the subject)?

A copy of the error message would help.

Seeing your program would be a great help, as would you reading and following the advice in read this before posting a programming question