CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Reading floating number from a channel

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
nilim05



Joined: 02 Oct 2007
Posts: 3

View user's profile Send private message

Reading floating number from a channel
PostPosted: Tue Oct 02, 2007 10:10 am     Reply with quote

Hi all,
i am new comer in PIC C language programing. I got a problem about the reading a floating number from an analoge channel. After that I also need to use this value for manipulation in PIC microcontroller. After manipultation again I need to send it through output channel to control a system. Could you please give me an idea that how could I do it?
Thanks for your assistance.
Bye
Nilim
anestho



Joined: 27 Dec 2006
Posts: 28

View user's profile Send private message

PostPosted: Tue Oct 02, 2007 3:26 pm     Reply with quote

You can't acquire a float number. ADC is 10 bits, so 0 to 1023. You can scale it anyway you want, but the max will be 1024 steps.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group