File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -385,16 +385,16 @@ features on the HAT. So they forked this library and modified the pinout there.
385
385
However, that fork is _ ancient_ , so I strongly suggest to use this original
386
386
library instead. You can choose the Adafruit pinout with a command line flag.
387
387
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.
389
390
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:
393
393
```
394
394
HARDWARE_DESC=adafruit-hat make
395
395
```
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
+
398
398
Then re-compile and the new flag default is now ` adafruit-hat ` , so
399
399
no need to set it on the command line.
400
400
You can’t perform that action at this time.
0 commit comments