2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00
fhem-mirror/fhem/contrib/four2hex
rudolfkoenig 71fe020f84 Initial version
git-svn-id: https://svn.fhem.de/fhem/trunk@3 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2007-01-30 12:47:36 +00:00
..
four2hex Initial version 2007-01-30 12:47:36 +00:00
four2hex.c Initial version 2007-01-30 12:47:36 +00:00
Makefile Initial version 2007-01-30 12:47:36 +00:00
README Initial version 2007-01-30 12:47:36 +00:00

Four2hex was written to convert the housecode based on digits ranging from 1
to 4 into hex code and vica versa. 
Four2hex is freeware based on the GNU Public license.

To built it:
$ make four2hex

Install it to /usr/local/bin:
$ su
# make install


Here an example from "four"-based to hex:
$ four2hex 12341234
1b1b

Here an example in the other (reverse) direction:
$ four2hex -r 1b1b
12341234

Enjoy.
Peter Stark, (Peter dot stark at t-online dot de)