Quote Originally Posted by clem View Post
Do I have to set aside specific memory locations?
Do I have to declare specific variables?
The book states:
ADCIN channel, Var

I'm still lost
Did you read section 5.2?
You are using the command ADCIN, which reads the specific ADC channel, which is connected to a certain pin. This value which is read is put into a specifica variable. You aren't using a variable in your code, you haven't specified a place to put it. You are using variables in other spots...so why not here?

How much PIC programming have you done so far? LED blinky? Anything like that?