Commit graph

25 commits

Author SHA1 Message Date
Henner Zeller
b68d100ae0 o Next step in avoiding the need to re-compile: make hardware GPIO
mapping choosable at run-time (and hence: via command line flag).
  Now, Adafruit HAT users don't have to recompile.
2016-10-13 12:51:49 -07:00
Henner Zeller
32ae184c22 o Add C example. 2016-09-13 22:08:16 -07:00
Henner Zeller
d4225c7ecd o Little readme updates. 2016-09-05 18:41:06 -07:00
Henner Zeller
58ca02982e o Output resulting size after pixel mapping.
o Always print reason for exit. Print it after Matrix has been shut
  down, so that we print after the last refresh-rate output has been
  done, thus we end with a clean newline at end of our output.
  (otherwise, the command-line editing afterwards is a little challenging
   as bash has trouble when the prompt does not start at zero)
2016-09-05 10:17:33 -07:00
Henner Zeller
b008c315ff o More U-arrangement documentation. 2016-09-04 21:18:11 -07:00
Henner Zeller
4c2a013716 o Make the LargeSquare64x64Transformer more universal, so that it
can work with any even-numbered long chain. Also allow for parallel
  chains.
2016-09-04 20:50:23 -07:00
Henner Zeller
816b30d67e o Introduce the concept of a StaticTransformer: this is a transformer
that is applied at the beginning and permanently modifies the internal
  pixel mapping without the need for function calls at runtime.
o This fixes the confusing case that a FrameCanvas does not by default
  get the features of a CanvasTransformer.
o The old transformer interface is kept for backwards compatibility.
  (we might think of having that simplified with a callback function
   or something).
o The new function call is ApplyStaticTransformer(); the old methods
  SetTransformer() and transformer() are still supported but clearly
  marked deprecated.
o This is in preparation to provide different multiplexing (for outdoor
  panels) and have an easier way to provide a transformer in Python.
2016-09-04 13:01:32 -07:00
Henner Zeller
233666bf4c o fix broken URL. Fixes #209 2016-08-29 09:13:42 -07:00
Henner Zeller
97247b7698 o Update documentation. 2016-08-25 09:46:18 -07:00
Henner Zeller
5920c89166 o Update readme with options. 2016-08-23 20:08:19 -07:00
Henner Zeller
b87bf5e2fb o Re-add some options that got lost in the cleanup
Fixes #202
2016-08-23 20:00:49 -07:00
Henner Zeller
c4f5d64bd4 o Re-add a couple of options that got lost in recent cleanup.
- -L to create 'large' chained 64x64 panel.
  - re-accept some of the old deprecated options so that things
    are not too hard on old-time users.
o Clarify documentation about 64x64 e-line hardware mod.

  Fixes #202
2016-08-23 19:43:02 -07:00
Henner Zeller
16b63b92c5 o Update documentation. 2016-08-22 20:50:25 -07:00
Henner Zeller
5c0bc04a1b o First round in updating the documentation. 2016-08-21 21:02:43 -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
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