Did some cleanup for productive usage

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
added Makefile for easy compilation
this Makefile is not complete and needs further additing,
but should run

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
fixed output and input issues.
correct attenuation will be shown now, as it is devided by 4

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
corrected atoi to atof in input.c at one line

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
added check for attenuation reset
if the user uses -t without a time, the attenuation will not be
resetted

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
time for attenuation will be printed only if ud.atime/time for attenuation
is not set by the user

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
added -i switch to print current attenuation

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
added some #ifdef to increase oder reduce debug output

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
added an additional check if argv[i + 1] is a valid argument
and if not set the standard value to a given argument.
Also added a functional Makefile with room for improvements
and first parts for a gui

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
added a missing check for argv length and changed continue to break
as it should be the last run through the loop.

TODO: should check the conditions again, best with attenuator
connected
added incomplete function for number check

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
added some minor changes for improvement

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
added Makefile for easy compilation
this Makefile is not complete and needs further additing,
but should run

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
changed/corrected output and conversion

Signed-off-by: Stefan Venz <ikstream86@gmail.com>