469,625 Members | 1,089 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

getting bitty

I'm writing a script that sends messages via the serial port at the
moment. I'm really quite hopeless at Perl so I need a little help.

Perl is great at handling strings but I'm having trouble finding
accurate info on how to specify a 4 bit hex value. I've basically gotta
send two 4bit chunks of data and a whole host of 8 bit chunks.

Thanks for any enlightenment
--
/* Hugh Lutley aKa Spewy
* This message was created on either
* Aurora 1.0 Linux on Sparcstation 20 <- 2 sm71 SuperSparc, 192mb ram ->
* Mandrake 9.2 Linux on Athlon XP <- Gnome 2.4 rulez KDE ->
* Slackware 9.1 Linux on PIII <- Command line rulez ->
* NO GOING BACK TO WINDOWS THIS TIME!!!!!!!
*/
(created in ViM)

Jul 19 '05 #1
1 1451
Hugh Lutley <hu**@richieDELELTETHISBITkotzen.com> wrote in message news:<pa****************************@richieDELELTE THISBITkotzen.com>...
I'm writing a script that sends messages via the serial port at the
moment. I'm really quite hopeless at Perl so I need a little help.

Perl is great at handling strings but I'm having trouble finding
accurate info on how to specify a 4 bit hex value. I've basically gotta
send two 4bit chunks of data and a whole host of 8 bit chunks.


perldoc -f pack
perldoc -f vec

This newsgroup does not exist (see FAQ). Please do not start threads here.
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Francis Bell | last post: by
4 posts views Thread by R.Manikandan | last post: by
25 posts views Thread by Eric | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.