@bremmie
Hi,
you have to differ between binary and pulses.
id in decimal:166967, in binary: 101000110000110111, in pulses: 10011001010110100101010110100110101
id2 in decimal: 103112, in binary: 11001001011001000, in pulses: 1010010110010110011010010110010101
unitcode in binary: 00100, in pulses: 0101100101
unitcode2 in binary: 111, in pulses: 101010
commandcode in binary: 0001011, in pulses: 01010110011010
Merge them:
“1” + id + id2 + unitcode + “010101010101010101” + commandcode + “1001101010” + unitcode2 + "12"
1+10011001010110100101010110100110101+1010010110010110011010010110010101+0101100101+010101010101010101+01010110011010+1001101010+101010+12
and you have the pulses which will be sent to the shutter