Skip to content

Commit d39cf89

Browse files
committed
o Compiling in specific hardware mapping not needed anymore for Python.
1 parent 0b8cc6a commit d39cf89

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -385,16 +385,16 @@ features on the HAT. So they forked this library and modified the pinout there.
385385
However, that fork is _ancient_, so I strongly suggest to use this original
386386
library instead. You can choose the Adafruit pinout with a command line flag.
387387

388-
Just pass the option `--led-gpio-mapping=adafruit-hat`.
388+
Just pass the option `--led-gpio-mapping=adafruit-hat`. This works on the C++
389+
and Python examples.
389390

390-
If you want to have this the default whenever you start (or if you are using
391-
the Python library that does not support to set this at runtime yet), add the
392-
following setting in front of your compilation:
391+
If you want to have this a compiled-in default, add the following setting in
392+
front of your compilation:
393393
```
394394
HARDWARE_DESC=adafruit-hat make
395395
```
396-
(alternatively, you can modify the `lib/Makefile` and change it there directly,
397-
which in particular is useful if you also compile the Python library)
396+
(alternatively, you can modify the `lib/Makefile` and change it there directly)
397+
398398
Then re-compile and the new flag default is now `adafruit-hat`, so
399399
no need to set it on the command line.
400400

0 commit comments

Comments
 (0)