Hi Chandu,

     Everybody new to rtl asks this question.  You can probably find some
answers by searching the email archives.  You either have to build your own
or use a library from someone else, or use a fifo to go to user space and
print it out there.  That seems to work really well for me, so I never try
printing floats from the kernel module.  After your program gets more
mature, you'll see how easy it is to use fifos and just print things from
the user space program.

Hope this helps.

Oliver




                                                                                       
       
                    "chandu                                                            
       
                    Reddy"               To:     <[EMAIL PROTECTED]>                     
       
                    <chandureddy@        cc:                                           
       
                    hclt.com>            Subject:     Re: [rtl] regd rtl printf        
       
                    Sent by:                                                           
       
                    owner-rtl@fsm                                                      
       
                    labs.com                                                           
       
                                                                                       
       
                                                                                       
       
                    07/12/01                                                           
       
                    10:41 AM                                                           
       
                    Please                                                             
       
                    respond to                                                         
       
                    rtl                                                                
       
                                                                                       
       
                                                                                       
       




Hi
   I am not able to print the floating variable in my FIFO handler waht
might be the problem.
    i am using rtl_printf("%f" , Floatvariable);
Thanks
chandu

 ----- Original Message -----
 From: chandu Reddy
 To: [EMAIL PROTECTED]
 Sent: Wednesday, July 11, 2001 8:03 PM
 Subject: [rtl] regd rtl printf

 HI
  alll

      How to print floating point data  using rtl_printf().
      what format sting i have to use for this???


 Thanks
 chandu



----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to