Henner Zeller
5b3bbb7008
o Don't show runtime options we don't support.
2016-12-15 22:31:20 -08:00
Henner Zeller
fe67391222
o Provide a flag printing option.
2016-12-15 17:16:41 -08:00
Henner Zeller
24ecf1d839
o Provide a "regular-pi1" hardware mapping that should work with
...
both, Raspberry Pi1 Revision 1 and 2.
Fixes #172
2016-10-17 19:47:07 -07:00
Henner Zeller
da05f01bdb
o Explicitly exit when we detect the bcm snd module which messes
...
with the PWM module.
2016-10-15 21:50:42 +00:00
Henner Zeller
5e29e7eeb0
o Output a warning if the sound modules is detected.
2016-10-14 19:00:57 -07:00
Henner Zeller
19b3bfb219
o Remove unneeded space.
2016-10-13 23:18:11 -07:00
Henner Zeller
c9feab0d51
o Since we can't switch anymore on Adafruit PWM define, make sure that
...
GPIO 4 and 18 don't fight each other in any case.
2016-10-13 13:09:07 -07:00
Henner Zeller
fe13e88a23
o compile c-files with CFLAGS
2016-10-13 12:51:49 -07:00
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
cc96e209c6
o C-API: Report back options actually used.
2016-09-16 18:24:34 -07:00
Henner Zeller
8462ca7cd6
o Catch a common misconfiguration: Setting ADAFRUIT_RGBMATRIX_HAT_PWM
...
but forgetting to set HARDWARE_DESC=adafruit-hat
2016-09-14 09:35:09 -07:00
Henner Zeller
6f2209eb37
o Add led_matrix_create_from_options() that provides the freedom to
...
set any option that is also available in the C++ part.
o Also, provide the command line parsing of the --led-* flags.
o Make header parseable down to C89 (no // comments).
2016-09-13 22:03:15 -07:00
Henner Zeller
4e36830b07
o Add a dummy-flag --led-help. All it does it to return the flag
...
parsing with an error, which then typically triggers a usage()
print in main().
o add missing newline to error message.
2016-09-13 21:57:59 -07:00
Henner Zeller
2c1df4a5cb
o Rename hardware pulsing flag to be disable_hardware_pulsing
...
instead of allow_hardware_pulsing. A little easier to understand and also
reflects 'an off bit is the default'.
2016-09-13 20:51:05 -07:00
Henner Zeller
fdcaa7d241
o Use makefile variables instead of hardcoded values for easier
...
override in cross-compiling. Fixes #216
2016-09-10 22:47:37 -07:00
Henner Zeller
da0973cea5
o Add TODO.
2016-09-05 12:59:15 -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
e961ca7c80
o fix RotateTransformer to work with non-square displays.
...
o Since we only support rotations multiple of 90 degrees anyway,
simplify implementation.
2016-09-04 12:26:36 -07:00
Henner Zeller
4db2faf420
o Prepare PixelMapper to be shared between frame buffers,
...
owned by RGBMatrix
2016-09-04 09:14:01 -07:00
Henner Zeller
6ac91ddfb6
o Remove a couple of branches to speed up things even though
...
we now control a lot of stuff with runtime flags instead of
compile-time #ifdef's
2016-09-03 18:51:40 -07:00
Henner Zeller
b4b511a459
o Make brightness-lookup less expensive.
2016-09-03 17:52:54 -07:00
Henner Zeller
f083838032
o Prepare framebuffer for easier central pixel mapping.
...
o Preprocessing color bits resulted in pixel-setting 12% faster.
2016-09-03 17:19:35 -07:00
Henner Zeller
307ba659fd
o Make original constructor work again (Doh')
...
Fixes #206 , #207
2016-08-26 17:27:31 -07:00
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
c42e94ffce
o Detect old configuration settings and hint to new way.
2016-08-23 08:53:44 -07:00
Henner Zeller
16b63b92c5
o Update documentation.
2016-08-22 20:50:25 -07:00
Henner Zeller
4bf0bf2811
o Pinout: choose a more specific filename to make sure that it is actually
...
pulled from the hardware directory.
2016-08-22 08:16:03 -07:00
Henner Zeller
5c0bc04a1b
o First round in updating the documentation.
2016-08-21 21:02:43 -07:00
Henner Zeller
4eb174866f
o add TODO.
2016-08-21 20:15:48 -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
8b54b00161
o Remove EXPERIMENTAL_HIGH_BRIGHTNESS
...
(it was experimental and after optimizing other places,
was not needed anymore).
2016-08-21 19:31:12 -07:00
Henner Zeller
480af6cc1a
o Move pinout definitions in a hardware subdirectory.
2016-08-21 19:26:54 -07:00
Henner Zeller
69ddec36ca
o Update comment in Makefile.
2016-08-21 17:05:03 -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
8b69f733d2
o actually set pwm bits and brightness as initialized.
2016-08-20 19:52:03 -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
c089366c12
o include choice of compiler in compiler-flags makefile recompile
...
trigger.
2016-08-19 08:18:14 -07:00
Henner Zeller
7af277794d
o First step for hardware mapping
2016-08-10 10:02:50 -07:00
Henner Zeller
2543e732da
o First step: moving out hardware descriptions.
2016-08-10 10:01:38 -07:00
Henner Zeller
5543956e8a
o SwapOnVSync(): make it possible to choose a fraction of the refresh-rate
...
as animation timing for applications that want to lock the update
to the refresh rate.
Usually, the refresh rate in the several hundred Hz range is not
as useful for that.
Adds a feature that emerged in a discussion in issue #184 .
2016-07-26 20:55:40 -07:00
Henner Zeller
2913fe3687
o Add a section about ghosting.
2016-07-24 13:12:36 -07:00