quest: convert Bin String to Hex
I have serial relay controller with 8 relays. building a set command is noted as 01010101 where all the odd relays are off and even relays are on.
This string " 01010101" (in blitz) needs to be converted to Hex for transport over the serial port.
Any one have a fast function for the conversion?
I have serial relay controller with 8 relays. building a set command is noted as 01010101 where all the odd relays are off and even relays are on.
This string " 01010101" (in blitz) needs to be converted to Hex for transport over the serial port.
Any one have a fast function for the conversion?