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 support@ccsinfo.com

Floating data

 
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

Floating data
PostPosted: Wed Oct 03, 2007 10:57 am     Reply with quote

Hi all,
Can I send floating data to output channel of the PIC microcontroller? If it is then how.
Thanks in advance.
nilim
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

PostPosted: Wed Oct 03, 2007 12:03 pm     Reply with quote

Your question would be easier to answer if you explained what your output is connected to and what you wanted to see there. Do you want to output a voltage, a serial stream of data, a PWM duty cycle?
nilim05



Joined: 02 Oct 2007
Posts: 3

View user's profile Send private message

Floating data
PostPosted: Wed Oct 03, 2007 7:59 pm     Reply with quote

Hi jecottrell,
Thanks for your reply. You exactly got my point. The output would be serial stream data or PWM duty cycle. Could you please explain the situation for cases?
Thanks a lot gain.
Nilim
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

PostPosted: Thu Oct 04, 2007 3:54 am     Reply with quote

Take some time and explain what you want to achieve. Then someone will be able to explain how to do it. So far, you haven't offered any details on what you would like to achieve. Until then, I don't think you'll find anyone willing to play 20 Questions.
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Thu Oct 04, 2007 8:16 am     Reply with quote

For a serial stream look at the printf() function.
For PWM look at the set_pwm, set_power, and setup_power functions.
_________________
The search for better is endless. Instead simply find very good and get the job done.
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