View previous topic :: View next topic |
Author |
Message |
nilim05
Joined: 02 Oct 2007 Posts: 3
|
Floating data |
Posted: Wed Oct 03, 2007 10:57 am |
|
|
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
|
|
Posted: Wed Oct 03, 2007 12:03 pm |
|
|
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
|
Floating data |
Posted: Wed Oct 03, 2007 7:59 pm |
|
|
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
|
|
Posted: Thu Oct 04, 2007 3:54 am |
|
|
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
|
|
Posted: Thu Oct 04, 2007 8:16 am |
|
|
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. |
|
|
|