Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Writing hexa in...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 10927 of 11982
Post > Topic >>

Writing hexa in ascii

by gilles.bellaches@[EMAIL PROTECTED] (Gilles.Bellaches@[EMAIL PROTECTED] ) Apr 11, 2008 at 04:28 PM

------=_Part_949518_23954395.1207924108086
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable


 Hi all,
I want to read a serial comm ****t receiving hexa data.
Then i would like to print these data in ascii, i mean if i receive 0x41,
i=
 would print "41" not the character "A".

I try with the pack function but it doesn't work (surely because i don't
un=
derstand this function)

Have you any idea ??

Thanks

Gilles





=20

 Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@[EMAIL PROTECTED]
 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s.

------=_Part_949518_23954395.1207924108086--
 




 4 Posts in Topic:
Writing hexa in ascii
gilles.bellaches@[EMAIL P  2008-04-11 16:28:28 
RE: Writing hexa in ascii
rvm@[EMAIL PROTECTED] (B  2008-04-11 10:32:40 
Re: Writing hexa in ascii
rob.dixon@[EMAIL PROTECTE  2008-04-11 17:09:48 
Re: Writing hexa in ascii
noreply@[EMAIL PROTECTED]  2008-04-11 19:46:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 15:07:59 CDT 2008.