Commit graph

546 commits

Author SHA1 Message Date
Henner Zeller
3f2904f163 o fix an executable mode 2016-08-29 00:30:24 -07:00
Henner Zeller
4c83fca59b o use latest version of cython 2016-08-29 00:21:08 -07:00
Henner Zeller
1efb3c1034 Merge branch 'master' of https://github.com/hzeller/rpi-rgb-led-matrix 2016-08-29 00:19:51 -07:00
Henner Zeller
98bb7a7879 o Little updates needed for Python3 2016-08-29 00:19:34 -07:00
Henner Zeller
4dc1a12f12 o Add image viewer example in README. 2016-08-28 18:14:09 -07:00
Henner Zeller
1a9c096d04 o Add some image examples. 2016-08-28 17:50:05 -07:00
Henner Zeller
deee50310d o Warning when image is not in RGB mode. 2016-08-28 17:45:53 -07:00
Henner Zeller
5814ed03d5 o Add a SetImage() method to the canvas class. This is not optimized
yet, but actually sufficiently fast on a Raspberry Pi 3
  Fixes #205, #152
2016-08-28 16:25:45 -07:00
Henner Zeller
3e0741f3ec o Move validation into c-code. 2016-08-28 13:39:32 -07:00
Henner Zeller
8629631a2f o Some initial Makefile cleanup. 2016-08-28 12:37:10 -07:00
Henner Zeller
8b7e64a438 o make problem in font path a little easier to use: raise an
exception (better solution for #188)
2016-08-28 11:58:00 -07:00
Henner Zeller
dbaa006072 o More explicit error handling for font loading error (Caused problem in #188) 2016-08-28 11:44:50 -07:00
Henner Zeller
c015981ee9 o little comment updates. 2016-08-28 11:39:43 -07:00
Henner Zeller
f3cae310b9 o Update readme re. Python 3.x to be not specific to minor version.
o Move cython generation into rgbmatrix/Makefile
2016-08-28 10:22:52 -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
97247b7698 o Update documentation. 2016-08-25 09:46:18 -07:00
Henner Zeller
dbec8ffdec o Add an option to center images on screen. 2016-08-23 20:45:48 -07:00
Henner Zeller
4ade855471 o for parsing flags and creating matrix from options, don't make
parameters optional.
2016-08-23 20:20:59 -07:00
Henner Zeller
c9a3de502b o Exit with error message if no image could be loaded. This is in
particular necessary with -f
2016-08-23 20:13:09 -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
025ad59201 o Fix closing parenthesis
( https://xkcd.com/859/
2016-08-23 19:41:49 -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
e4bb815eb3 Merge branch 'master' of github.com:hzeller/rpi-rgb-led-matrix 2016-08-23 18:52:21 -07:00
Henner Zeller
88aa64c947 o Loading images can take some time. Give feedback.
o More logical way to handle delay for non-animated images.
2016-08-23 18:51:45 -07:00
Henner Zeller
6043d8560c o Choose a more sensible default for multiple animated
gifs. Instead of a time-limit (which by default is 1.5 seconds),
  make them loop once.

  Fixes #201
2016-08-23 18:33:50 -07:00
Henner Zeller
5b7f5507dd o Little readme clarification. 2016-08-23 08:54:50 -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
cdc39384f9 o Provide a feature to go through a list of image files.
Fixes #126
2016-08-22 23:08:25 -07:00
Henner Zeller
cd69285f3c o add forgotten file. 2016-08-22 20:52:05 -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