in reply to Compiling and uploading a crontab to my Radioduino
From GSPSupport.pm (frame2packet):
for my $byte ( @frame ) { my $lowbyte = ( $byte & 0x0f ) + 65; my $highbyte = ( $byte >> 4 ) + 65;
I tested this subroutine with numbers ranging from 0 to 9,999,999,999 and I can tell you two things.
1) $lowbyte is not a byte, it only has four bits. It is a nibble.
2) $highbyte is not a byte as it can contain any value above 255 (0xFF).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Compiling and uploading a crontab to my Radioduino
by cavac (Prior) on May 30, 2021 at 09:56 UTC |