hi guy,
Need some advice, i try convert Inputfiles.txt which is in binary to Hex into output files but keep getting the value add together.
Inputfiles.txt
PA 110011011
PB 000101
PC 111111111100
The output should look exactly like this like this even with PA,PB and PC (Outputfiles.txt)
PA 19B
PB 05
PC FFC
My command : Bin2Hex.pl Inputfiles.txt Outputfiles.txt
I need some help/advice from you guy what is the wrong with my coding. Please view attachment.. sorry unable to upload in .pl extension I write it as .txt instead
Need some advice, i try convert Inputfiles.txt which is in binary to Hex into output files but keep getting the value add together.
Inputfiles.txt
PA 110011011
PB 000101
PC 111111111100
The output should look exactly like this like this even with PA,PB and PC (Outputfiles.txt)
PA 19B
PB 05
PC FFC
My command : Bin2Hex.pl Inputfiles.txt Outputfiles.txt
I need some help/advice from you guy what is the wrong with my coding. Please view attachment.. sorry unable to upload in .pl extension I write it as .txt instead
Attachments
-
468 bytes Views: 15