From 1a0b3e800f0372db0c850efeef48fe779282eacf Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Tue, 1 Nov 2016 09:14:39 -0700 Subject: [PATCH] o Smallish documentation updates. --- README.md | 3 ++- include/led-matrix.h | 3 +++ python/README.md | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3473dd0..e167e4a 100644 --- a/README.md +++ b/README.md @@ -392,7 +392,8 @@ following setting in front of your compilation: ``` HARDWARE_DESC=adafruit-hat make ``` -(alternatively, you can modify the `lib/Makefile` and change it there directly) +(alternatively, you can modify the `lib/Makefile` and change it there directly, +which in particular is useful if you also compile the Python library) Then re-compile and the new flag default is now `adafruit-hat`, so no need to set it on the command line. diff --git a/include/led-matrix.h b/include/led-matrix.h index f4d3692..257424d 100644 --- a/include/led-matrix.h +++ b/include/led-matrix.h @@ -317,6 +317,9 @@ struct RuntimeOptions { RuntimeOptions(); int gpio_slowdown; // 0 = no slowdown. Flag: --led-slowdown-gpio + // If the following are disabled, the following options will not be offered. + // If daemon is disabled, the user has to call StartRefresh() once the + // matrix is created. int daemon; // -1 disabled. 0=off, 1=on. Flag: --led-daemon int drop_privileges; // -1 disabled. 0=off, 1=on. flag: --led-drop-privs }; diff --git a/python/README.md b/python/README.md index dfb67eb..8a27f80 100644 --- a/python/README.md +++ b/python/README.md @@ -4,7 +4,11 @@ Python bindings for RGB Matrix library Building -------- -In the root directory for the matrix library simply type: +If you have a different than the standard wiring (for instance if you have an +Adafruit HAT), edit the [../lib/Makefile](../lib/Makefile#L26) first to choose +the hardware in question. + +Then, in the root directory for the matrix library simply type: ### Python 2