o Smallish documentation updates.

This commit is contained in:
Henner Zeller 2016-11-01 09:14:39 -07:00
parent 24ecf1d839
commit 1a0b3e800f
3 changed files with 10 additions and 2 deletions

View file

@ -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.

View file

@ -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
};

View file

@ -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