AnsweredAssumed Answered

ADC value in buffer

Question asked by jourdan.cyril on Aug 25, 2011
Latest reply on Aug 26, 2011 by Clive One

I have a buffer char buf[128];
And when I use ADC it gave me values like 1204 for eg. by ADC1ConvertedValue[1] which is the channel 1 for me.

How could I store the 4 characters 1,2,0 and 4 into my buffer?
I have tried buf[1]=ADC1ConvertedValue[1];
but this store only the first character which is normal.