Henner Zeller
ddf446d952
o Separate out flag parsing and creation of matrix into separate
...
functions to call.
2016-08-23 19:41:00 -07:00
Henner Zeller
16b63b92c5
o Update documentation.
2016-08-22 20:50:25 -07:00
Henner Zeller
810c54f849
o Allow hardware pin pulsing select also to be set programmatically
...
and via flag.
2016-08-21 20:01:51 -07:00
Henner Zeller
85e707116f
o Allow to choose the lsb pwm nanoseconds on the command line.
2016-08-21 17:02:54 -07:00
Henner Zeller
6d26807d88
o Making dropping privileges the default.
...
o Make it possible to select scan mode programmatically.
2016-08-21 16:24:29 -07:00
Henner Zeller
d5286000ce
o add the concept of RuntimeOptions. This contins the daemon, drop-privs
...
and gpio slowdown values.
o Add gpio slowdown to the values that can be modified programmatically
and with flags.
o Have the default flags passed into CreateMatrixFromFlags() also be
an output value, so that the settings read from the flags can be
used back in the user program.
2016-08-21 15:58:23 -07:00
Henner Zeller
5616d8749b
o Parse 'no' in flag for negative boolean flags.
2016-08-21 14:20:36 -07:00
Henner Zeller
b664571c3d
o Allow to set a default options for the CreateMatrixFromFlags().
...
o Allow to set show-refresh-rate, inverse-colors and green-blue
swap programmatically. That way, nobody has to re-compile just for
these options, which makes things more easy to distribute as library.
also: Make these flags.
2016-08-21 12:54:45 -07:00
Henner Zeller
51db6ce6d0
o Better documentation and more flexibility with daemon option.
2016-08-21 10:57:48 -07:00
Henner Zeller
021c08db19
o Show some good practices: setting up signal handler.
...
o smallish cleanups.
2016-08-20 20:45:41 -07:00
Henner Zeller
7557c40e17
o Add some common runtim options (--led-daemon, --led-drop-privs)
...
o Add more options for matrix parameters (--led-brightness, --led-pwm-bits)
2016-08-20 19:26:20 -07:00
Henner Zeller
edce0acadb
o Initial parsing of matrix command line options.
2016-08-20 17:25:06 -07:00