Help for this page

Select Code to Download


  1. or download this
    use constant PACK_TEMPLATE = 'H4 b7 b1 b1 b1 b6 H2 A8 H4';
    =comment 
    ...
    'A8'; # if present, unit ID is 8 chars
    'H4'; # if present, CRC is a 16 bit word                      
    =cut