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
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?
Sorry this is my first time.
But I did figure it out,
thank you for the help
Jim-
If you're starting off with ADCIN type commands, you might want to back up a bit and play around some with some LEDs and some buttons first. Get the basics down. Dig in too deep and too hard right off the get go, and you're setting yourself up for headaches in the future.
Just my thoughts on the process...
Bookmarks