Joined: 26 Aug 2009 Posts: 4 Location: Padova - Italy
Posted: Mon Mar 22, 2010 11:12 am
Thank you very much.
I used it and it works.
I tried to modify it to obtain the voltage too. For this I need to multiply "adc_value" by 5 and divide the result by 1023 and show the result using comma (or point) as decimal separator. But I get only one number (1 to 4). Probably because "int16 adc_value" ?
Can you explain me how I can do it ?
Where can I find manual to learn how to use C language in CCS ?
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