I would like to use a PIC16F876A. A signal will enter in an analogic pin. Then I'll make an A/D conversion on 8 bits and stock 128 values in the RAM. I want to stock them as CHAR and not as floating point to save space in the RAM memory (the RAM of this PIC is 368).
Which function do I have to use?
Do you know where I can find an example of such a code?
Thank you
Vinch
Joined: 24 Feb 2007 Posts: 7
Posted: Wed Mar 07, 2007 3:21 am
I have found this function in the FAQ:
for(i=0;i<15;i++)
Write_Bank(1,i,getc());
for(i=0;i<=15;i++)
PUTC(Read_Bank(1,i));
I suppose I have to use it.
But I have anothor question: for my A/D conversion, I would like to that every 250�s. How do I have to setup my adc clock?
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