Question
ADC value in buffer
Posted on August 25, 2011 at 16:49
Hello,
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. thanks