comp.lang.ada
 help / color / mirror / Atom feed
From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: AVR Usart send number string with no 'Image
Date: Wed, 01 May 2013 19:29:38 -0400
Date: 2013-05-01T19:29:38-04:00	[thread overview]
Message-ID: <e893o85cbb5vbbh5pcl4rm6hlfa70npaul@invalid.netcom.com> (raw)
In-Reply-To: 21fb4738-c996-4afd-9e55-97e1549f5d63@googlegroups.com

On Wed, 1 May 2013 15:07:36 -0700 (PDT), "Rego, P." <pvrego@gmail.com>
declaimed the following in comp.lang.ada:

> 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.

	Presuming Unsigned_8 IS an 8-bit modular type, the valid range of
data is 0..255.

	523 mod 256 => 11

	Nothing wrong that I can see...
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/


  parent reply	other threads:[~2013-05-01 23:29 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.
2013-05-01 22:30       ` Jeffrey Carter
2013-05-01 22:46         ` Rego, P.
2013-05-01 23:29       ` Dennis Lee Bieber [this message]
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