Commit graph

546 commits

Author SHA1 Message Date
Benedikt Willi
f0fb434916 Moved -t argument from SampleBase to RunText, let SampleBase inherit from object instead of ArgumentParser, code cleanup 2017-01-05 11:33:44 +01:00
Roberto Marquez
6e41022019 Python - Allow the user to specify the text to scroll via a command line flag. (#252)
* Accept the text to scroll as a command line parameter.  If not text flag is given, then the default, "Hello world", is used.
2017-01-04 22:58:23 -08:00
Henner Zeller
3f47b57598 o Update documentation. 2016-12-16 10:24:42 -08:00
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
Jasper Poppe
607fa3bae4 o In case there is no default animation delay, use some reasonable
default of 10ms (vs. 1ms than before).
(Pull request #199)
2016-12-08 20:38:33 -08:00
Henner Zeller
5fdc3088e7 o Add a way to choose timing relevant parameters (-w, -l, -t) before
each image.
Fixes #255
2016-12-08 20:24:33 -08:00
Henner Zeller
3080a773e7 o Add reference to Go binding by Máximo Cuadros. 2016-11-13 14:30:13 -08:00
Henner Zeller
1a0b3e800f o Smallish documentation updates. 2016-11-01 09:14:39 -07: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
aae24fbfa7 o Add TODO for Python impl. 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
9cbb4e116e o Make the move of the demo program simpler on people who have
found some outdated information with its old location.
2016-10-13 08:33:16 -07:00
Henner Zeller
33fd10d20f o Fix included header. 2016-10-04 18:44:26 -07:00
Henner Zeller
6cbf667be2 o Allow the images on the command line to be shuffled. 2016-10-04 08:58:33 -07:00
Henner Zeller
cc96e209c6 o C-API: Report back options actually used. 2016-09-16 18:24:34 -07:00
Henner Zeller
f0fb12d716 o Add reference to @Duality4Y's experiment with PyPy and CFFI
binding. In context of #159
2016-09-14 09:59:41 -07:00
Henner Zeller
e10f9f00fa o Make sample section simpler to ignore with simple comment skipper. 2016-09-14 09:47:44 -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
32ae184c22 o Add C example. 2016-09-13 22:08:16 -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
d4225c7ecd o Little readme updates. 2016-09-05 18:41:06 -07:00
Henner Zeller
da0973cea5 o Add TODO. 2016-09-05 12:59:15 -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
836f5ed310 o make 64x64 arrangement more clear. 2016-09-04 20:54:27 -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
5f1fc8b807 o Add a rotation option to image viewer. 2016-09-04 13:17:25 -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
ed86e0d66d o Add hint what is a good place to start improving performance of
the Python binding.
2016-09-04 08:48:51 -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
3d26a60c2b o Make sure that changes in library are incorporated on next
Python build.
2016-09-03 13:04:16 -07:00
Henner Zeller
c1b36fe7ba Merge branch 'master' of https://github.com/hzeller/rpi-rgb-led-matrix 2016-09-03 12:40:14 -07:00
Henner Zeller
e85c9e606d o Give a section about roughly expected speed differences
of Python on different platforms. Part of the result from discussion
  on #159
2016-09-03 12:39:09 -07:00
Henner Zeller
099a384dcf Merge pull request #210 from jpoppe/patch-2
Fixed typo, Adafrtui -> Adafruit
2016-08-30 00:17:44 -07:00
Jasper Poppe
e0625324a6 Fixed typo, Adafrtui -> Adafruit 2016-08-30 08:59:59 +02:00
Henner Zeller
233666bf4c o fix broken URL. Fixes #209 2016-08-29 09:13:42 -07:00
Henner Zeller
ec28d0fe71 o update docs. 2016-08-29 00:35:57 -07:00