Monday, 30 September 2013

Ascii convert to HEX

Ascii convert to HEX

I have a command file with this format:
31 01 FD 37 04
31 01 FD 37 05
31 01 FD 37 06
31 01 FD 37 07
This commands are in ASCII but i have to send my device same numbers just
in HEX so: 31 01 FD 37 04 -> 31 01 FD 37 04 NOT(33 31 30 31 46 44 33 37 30
34 )
Any idea?

No comments:

Post a Comment