Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: some C string conversion functions?

2005-04-22 by arhodes19044

I have not used the printf functions yet since I just started using 
these uC's.  But, don't I have to use printf and its variants with a 
certain output stream?

I have an LCD display setup as a 4-bit parallel device.  I do not have 
it set up for any interrupt driven output, but I might do that to 
increase speed in the calling program.  Right now I just send the 
stuff character bycharacter until it is done and then come back to the 
calling routine.  I will have to see if sprintf will work in such a 
way.

Probably this is telling me to write an interrupt driven LCD stream!  
I have not seen such a beast pre-written.

-Tony

--- In AVR-Chat@yahoogroups.com, Brian Dean <bsd@b...> wrote:
> On Fri, Apr 22, 2005 at 02:18:15PM -0000, arhodes19044 wrote:
> 
> > Is there a "dtoa" to convert a float to ascii?  I seem to remember
> > something from my days when I used C very regularly, but now that I
> > am getting back into it, I can not recall.
> 
> 'sprintf()' works.
> 
> -Brian
> -- 
> Brian Dean
> BDMICRO - ATmega128 Based MAVRIC Controllers
> http://www.bdmicro.com/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.