Commit graph

10 commits

Author SHA1 Message Date
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
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
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
Henner Zeller
eb0a10b0f0 o Provide an RGBMatrix::Options struct as input for all parameters.
Preparation to have other parameter tweaks move from #defines to
  runtime options.
2016-08-20 11:10:32 -07:00
Henner Zeller
ca61d0975e o Move scroll ppm examples to api examples. 2016-08-20 09:59:15 -07:00
Henner Zeller
d28b2a23b4 o First step in separating the documentation in more smaller
chunks.
o Create sub-directory for api examples and ready utilities.
2016-08-20 09:57:27 -07:00