Otherwise each of the four GPIO pin factories will be attempted to be used in If the environment variable is set, the corresponding pin factory will be used, Set the default pin factory for all future sessions too. If you add the export command to your ~/.bashrc file, you’ll > import gpiozero > Device._default_pin_factory() Python 3.7.3 (default, Apr 3 2019, 05:39:12) on linux Type "help", "copyright", "credits" or "license" for more information. > import gpiozero > Device._default_pin_factory() > quit() $ python3
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |