File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -495,8 +495,22 @@ dependencies of LEADS for you.
495
495
bash " setup.sh$( wget -O setup.sh https://raw.githubusercontent.com/ProjectNeura/LEADS/main/scripts/setup.sh) " && rm setup.sh || rm setup.sh
496
496
```
497
497
498
- This will create a shortcut to save you from typing ` python-leads -m leads_vec ... ` , instead, you will just need to call
499
- ` leads-vec ... ` .
498
+ #### GPIOZero Compatibility
499
+
500
+ If you are using a GPIO board that is not a Raspberry Pi, you need to set the environment variable
501
+ ` GPIOZERO_PIN_FACTORY ` to ` mock ` .
502
+
503
+ ``` shell
504
+ export GPIOZERO_PIN_FACTORY=mock
505
+ ```
506
+
507
+ If you have registered the Systemd service, this line should be added to "leads-vec.service.sh" as well.
508
+
509
+ ``` shell
510
+ # adjust the arguments according to your needs
511
+ export GPIOZERO_PIN_FACTORY=mock
512
+ leads-vec -c /usr/local/leads/config.json run
513
+ ```
500
514
501
515
### Python
502
516
You can’t perform that action at this time.
0 commit comments