avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Ascii to BCD conversion


From: Alan Kilian
Subject: Re: [avr-chat] Ascii to BCD conversion
Date: Wed, 17 Aug 2005 13:22:52 -0500

On Wed, 2005-08-17 at 09:23 -0700, Kingston Co. wrote:
> Does anyone have any suggestions for converting ASCII input from the  
> uart into BCD to send to a peripheral I2C Clock chip?  My C is not as  
> good as it should be.

        It's not 100% of what you want, but these should get you there
        with a little work.

        http://www.avr-asm-tutorial.net/avr_en/calc/CONVERT.html
        http://c.snippets.org/snip_lister.php?fname=bcdl.c

-- 
- Alan Kilian <kilian(at)bobodyne.com>
- I was touched by His Noodly Appendage. <http://www.venganza.org/>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]