comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: AVR Usart send number string with no 'Image
Date: Wed, 1 May 2013 15:07:36 -0700 (PDT)
Date: 2013-05-01T15:07:36-07:00	[thread overview]
Message-ID: <21fb4738-c996-4afd-9e55-97e1549f5d63@googlegroups.com> (raw)
In-Reply-To: <lyip32quti.fsf@pushface.org>

On Wednesday, May 1, 2013 6:00:41 PM UTC-3, Simon Wright wrote:
> Do you have any white space in Input?

No, I am testing with 

   Put (Data => Unsigned_8_To_String (IMAGE.String_To_Unsigned_8 ("523")));

but my output is 011.

I tested also in String_To_Unsigned_8 just with 
   Result := Character'Pos (Input (Digit)) - Character'Pos ('0'); 

to test if the single output is ok (and it is so). But something should be missing in the 10*Result + ... part.



  reply	other threads:[~2013-05-01 22:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25  1:27 AVR Usart send number string with no 'Image Rego, P.
2013-04-25  2:03 ` 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. [this message]
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