From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,87b54dbabc658fa2 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.160.65 with SMTP id m1mr7351518qax.2.1367446056873; Wed, 01 May 2013 15:07:36 -0700 (PDT) X-Received: by 10.49.42.1 with SMTP id j1mr382694qel.41.1367446056801; Wed, 01 May 2013 15:07:36 -0700 (PDT) Path: ef9ni41880qab.0!nntp.google.com!s14no1765231qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 1 May 2013 15:07:36 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.110.14.106; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 189.110.14.106 References: <931385b2-3520-4d7a-b56f-6d0d0b06d467@googlegroups.com> <443a92d3-2327-423d-ad74-174b0a69e4c4@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <21fb4738-c996-4afd-9e55-97e1549f5d63@googlegroups.com> Subject: Re: AVR Usart send number string with no 'Image From: "Rego, P." Injection-Date: Wed, 01 May 2013 22:07:36 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-05-01T15:07:36-07:00 List-Id: 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.