Commit graph

124 commits

Author SHA1 Message Date
Henner Zeller
dc67b42aa4 o Minimize dark-time for longer display chains (addresses
issue #180).
o Expose the LSB pwm time as a settable #define
o Update documentation for various #defines in lib/Makefile
2016-07-23 16:37:04 -07:00
Henner Zeller
3cf3548509 o add an interlaced option. 2016-07-23 09:15:25 -07:00
Henner Zeller
7404105e5a o Early out if pulse not triggered 2016-07-22 23:33:58 -07:00
Henner Zeller
1434a19887 o Add an experimental option to prioritize brigthness. Only
really recommended for 1Bit PWM. Addresses issue #180
2016-07-22 09:04:42 -07:00
Henner Zeller
0ce27d5c7d o Provide a way to debug potential issues with the hardware pulser. 2016-07-01 18:10:30 -07:00
Henner Zeller
744578c8bd o Use g++ to link shared object. 2016-06-16 17:46:50 -07:00
Henner Zeller
be41d4cb59 o Make it possible to actually start thread separately from GPIO 2016-06-09 20:52:43 -07:00
Henner Zeller
01ec618072 o Fix typo in row-range-check message. 2016-05-08 09:02:57 -07:00
Henner Zeller
6c67391c19 o Add support for 'E' line (addresses #120)
o (does not yet address adapter PCBs. Awaiting feedback where the
  outputs usually are).
2016-05-05 10:31:14 -07:00
Henner Zeller
409d7bd3ce o Add a C-API (experimental right now, don't use yet)
o Provide a shared library
2016-05-05 08:29:51 -07:00
Henner Zeller
6108fedda1 o Allow GPIO and start thread to be set independently. 2016-05-05 08:29:13 -07:00
Henner Zeller
0405cca5b0 o Remove trailing newlines. 2016-03-13 16:51:04 -07:00
Henner Zeller
a559db250b o Allow to separate setting GPIO initialization from thread starting
(but keep same defaults).
2016-02-14 11:12:55 +00:00
Henner Zeller
a9345e1861 o Make it configurable to only have one sub-panel per panel, as some
older panels provide that. Fixes #96
2015-12-05 13:01:23 -08:00
Henner Zeller
79c4cff787 o Make 64-bit value from hex parsing independent of platform
specific interpretations of 'long long'.
2015-12-03 04:22:14 +00:00
Henner Zeller
e655b7355a o Provide a way to swap green and blue. Some panels out there are
broken that way.
  Fixes #58
2015-12-02 07:35:37 +00:00
Henner Zeller
90283819e5 o minor style issues. 2015-12-01 22:33:15 -08:00
Ian Foster
d7fd1fb561 o Added support for background colors on DrawText and DrawGlyph
o Make the versions with the background the default functions, keep
  the old versions merely for compatibility.
2015-12-01 22:30:55 -08:00
Henner Zeller
63a5da1bad o Update and clarify documentation for the ADAFRUIT_RGBMATRIX_HAT_PWM
o Take extra precaution that the hardware hack needed for the HAT-PWM
  does not clash with GPIO 4 being set as output on the system for
  some reason.
2015-11-25 23:38:50 +01:00
Henner Zeller
3e41f8d2e0 o Switch on GPIO slow-down by default. Limits support requests. 2015-11-19 23:02:24 -08:00
Henner Zeller
333397e815 o Fix platform-dependent assumption of lenght of off_t. Apparently
in some contexts it is considered 64 bits on the Pi, which doesn't go
  well with a fixed sscanf() integer-width pattern. Tie it to a fixed
  type. Found by Maxime Journaux working on a nodejs binding.
2015-10-25 10:03:49 -07:00
Henner Zeller
b05713876e o Fix weird indentation. 2015-10-12 21:44:44 -07:00
Henner Zeller
b754be39d3 o Make it a parameter of Thread::Start() to choose an affinity mask. 2015-10-12 02:17:14 +00:00
Henner Zeller
08023d418a o Bind display refresh to one CPU core to avoid flicker-inducing kernel
jumpiness.
2015-10-12 00:33:36 +00:00
Henner Zeller
6890187140 o Make sure that no copy-constructor is used for Font. 2015-09-29 23:59:25 -07:00
Henner Zeller
6de71219ff o Some documentation clarifications. 2015-09-29 08:41:06 -07:00
Henner Zeller
6d2383c6b6 o Make ThreadedCanvasManipulator restartable (fixes #60) 2015-09-13 16:26:31 -07:00
Henner Zeller
246becad2e o Add a way to slow down even more. 2015-09-13 14:08:22 -07:00
Henner Zeller
476700843e o Ignore compiler-flags file in git. 2015-08-27 10:42:30 +02:00
Henner Zeller
b102ca6b57 o Make compiler flags as well part of the dependencies which
allows easier playing around with flags.
2015-08-27 10:39:00 +02:00
Henner Zeller
b0e4d071c2 o Better define dependencies that library is re-built on changing
the framebuffer-internal.h header file. Addresses compile issue
  found in #61
2015-08-27 10:15:48 +02:00
Henner Zeller
cf252fbf4a o Proper brightness clipping and documentation added. 2015-08-15 11:55:07 +02:00
Henner Zeller
55ff2662ba o Make sure the actual active frame is set after SwapOnVSync(). 2015-08-04 11:43:55 -07:00
Lutz Wolf
eedaf12e3b Allow Hardware PWM with Adafruit HAT 2015-08-02 01:32:23 +02:00
Henner Zeller
26b7aa0d1c Merge branch 'master' of github.com:hzeller/rpi-rgb-led-matrix 2015-07-27 18:11:22 -07:00
Henner Zeller
cc49ab7418 o Some stylistic changes. 2015-07-27 18:11:11 -07:00
Henner Zeller
f79d48eab8 o Make Adafruit HAT compile again. Adresses #51 2015-07-25 08:49:13 -07:00
Saij
7a0da0e136 o Add new transformers to provide logical Canvases that are transformed
before writing to another physical Canvas.
   - RotateTransformer: rotates by multiple of 90 degrees
   - LargeSquare64x64Transformer: does the 64x64 conversion from
     earlier examples
   - LinkedTransformer allows to have a sequence of transformers
     applied.
o Provide a flag in demo-main to influence rotation.
2015-07-23 23:42:21 -07:00
Henner Zeller
71e74ce597 o Some README tweaks. 2015-07-23 17:29:37 -07:00
Henner Zeller
a662b54a19 o More datasheet reading helps
- simplified way to generate pulse timing; not using serializer just
    simple base PWM, but using value == range. That way, we don't have
    to switch timing in-between.
  - measurements with oscilloscope for things that are omitted from
    the datasheet.
o Measure time elapsed between SendPulse()/WaitPulseFinished(), then
  sleep for amount needed before busy-waiting on for the pulse to finish.
o Results: brigther (less 'dead time'). Better refresh rate (dito).
  Less CPU use.
2015-07-23 00:17:59 -07:00
Henner Zeller
493ccc0ce6 o Make sure PWM registers are properly set to default values.
o remove some old debugging code.
2015-07-20 22:46:12 -07:00
Henner Zeller
d7a4189290 Merge branch 'master' of github.com:hzeller/rpi-rgb-led-matrix 2015-07-19 19:54:16 -07:00
Henner Zeller
6dc532243e o Readme improvements.
o some TODO updates in gpio.cc
2015-07-19 19:52:41 -07:00
Henner Zeller
349fd3ab02 o Make use of PWM timer switchable. 2015-07-19 18:39:21 -07:00
Henner Zeller
b59f83828d o Choose a base PWM value that is good enough in 'classic' wiring as well
(Maybe this should be configurable).
2015-07-19 18:03:51 -07:00
Henner Zeller
941f71e350 o Less chatty about pulser used. 2015-07-19 13:40:49 -07:00
Henner Zeller
5253075725 o Make multi-parallel the default. 2015-07-19 13:39:09 -07:00
Henner Zeller
9e03ed91f0 o Make the PWM pinout the new 'default' pinout, but leave the
old pinout accessible with RGB_CLASSIC_PINOUT
2015-07-19 13:23:14 -07:00
Henner Zeller
1b3cadc394 Merge branch 'experimental-pwm-bit' of github.com:hzeller/rpi-rgb-led-matrix into experimental-pwm-bit 2015-07-19 12:56:18 -07:00
Henner Zeller
0994fa3817 o comment out PWM debug messages. 2015-07-19 12:56:04 -07:00