I am sorry about not using BASIC, but because I am currently on a school project and we are restricted to C or Asm only therefore. I can't use it. Hope you can understand that.
I am sorry about not using BASIC, but because I am currently on a school project and we are restricted to C or Asm only therefore. I can't use it. Hope you can understand that.
Hi,
i'm a bit rusty but i think it 'should' work. I would check the analog source impedance. It should be bellow 10K. Could also be a bad clock conversion choice, variable type, etc etc.
But yeah... sure i miss something obvious. I can't check the whole thing here for some reasons, but as Mackarit suggest, you should go on the according forum for a better answer.
Out of curiosity, which C compiler are you using?
Last edited by mister_e; - 24th September 2007 at 15:50.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I understand, I would help and so would many others, but most of us do not use C or at least not very often.
Have you tried the http://www.piclist.com/techref/piclist/index.htm ?
When I was doing ASM I hung out there.
Dave
Always wear safety glasses while programming.
This will not work because if you read the datasheet of the microcontroller.. it specifically mentions that you must have 10 microsecond delay when switching from channels. This is an absolute must, because the processor requires a delay from switching drivers from one ADC channel to another. This is just my assumption.
-Srig
Bookmarks