using bytearray for hex codes to send to tv