I've used Perl to retrieve rft (really f****** cold) freezer temperatures and one of the things I needed to do was send hex to the unit through the serial interface. I was able to do this using Perl's 'pack'.
Check out:
http://perldoc.perl.org/functions/pack.html
Maybe that will help.
In reply to Re: How to Format Serial Port Output Format
by wallisds
in thread How to Format Serial Port Output Format
by user2829
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |