1.I only use one analog input pin
2.and one output pin
3.the clock i want to set it to max. to have the highest sampling frequency
4.how to set the memory?
No4. <=the main problem i am facing....
can anyone give me the full code of A/D convertor
AND the setting of memory>.<
We will not do your class project for you. Do not ask us to do it.
Ttelmah Guest
Posted: Thu Nov 06, 2008 11:14 am
The highest frequency you can run the chip, depends on your supply voltage - read the data sheet. To run at that frequency, get a crystal of this frequency...
Setting of memory?. No such thing. Within the limits of the chip (biggest bank is 96 bytes), just declare an array how large you want it. Make sure you have:
#device *=16
Up at the top of the code, just below the include for the processor definitions.
There is no memory configuation, other than just using it...
PCM has already given you good answers for everything else.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum