comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: AVR Usart send number string with no 'Image
Date: Wed, 24 Apr 2013 18:27:52 -0700 (PDT)
Date: 2013-04-24T18:27:52-07:00	[thread overview]
Message-ID: <931385b2-3520-4d7a-b56f-6d0d0b06d467@googlegroups.com> (raw)

I am trying to send a numeric string over Usart in an AVR ATmega2560, using avr-elf-windows. So I coded a function Put (Data : String) which works well, and a function Put (Data : Unsigned_8) which actually sends the Character represented by Data : Unsigned_8. 

But I need now a function which sends really the number, not its equivalent character. So I think I could convert the number into a string and send it. The problem is that avr-elf-windows has no 'Image available, so I have to implement it by hand. How could I do it?

Regards



             reply	other threads:[~2013-04-25  1:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25  1:27 Rego, P. [this message]
2013-04-25  2:03 ` AVR Usart send number string with no 'Image Shark8
2013-04-25 10:55   ` Rego, P.
2013-04-26  2:28     ` Rego, P.
2013-04-26  5:50       ` Simon Wright
2013-04-30  2:58         ` Rego, P.
2013-04-26 14:52       ` Shark8
2013-04-26 21:10         ` Shark8
2013-04-30  3:00           ` Rego, P.
2013-04-25  4:54 ` rrr.eee.27
2013-04-25 10:58   ` Rego, P.
2013-05-01 20:35 ` Rego, P.
2013-05-01 21:00   ` Simon Wright
2013-05-01 22:07     ` Rego, P.
2013-05-01 22:30       ` Jeffrey Carter
2013-05-01 22:46         ` Rego, P.
2013-05-01 23:29       ` Dennis Lee Bieber
2013-05-01 22:32   ` Shark8
2013-05-01 23:00     ` Rego, P.
2013-05-01 23:09       ` Shark8
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox