clssn / numato-gpio

Python API for Numato GPIO Expanders
MIT License
4 stars 6 forks source link

doc: improved sample code for non-Linux OS #12

Closed ocroquette closed 2 years ago

ocroquette commented 3 years ago

The discovery function works only on Linux, and the sample used the it unconditionaly. This gives the impression that other OS are not supported, which is not the case. Let the sample instanciate the device instead, it is easier to understand and more generic