Page 3 of 3

Re: Having issues with trying to catch "OneWireError" exception

Posted: Fri Apr 02, 2021 7:33 am
by kevinkk525
ds.scan() is unlikely to throw an exception.

In my application I catch oneWire errors on conversion and any type of error on reading:

https://github.com/kevinkk525/pysmartno ... 18.py#L148

https://github.com/kevinkk525/pysmartno ... 18.py#L159

Re: Having issues with trying to catch "OneWireError" exception

Posted: Fri Apr 02, 2021 7:45 am
by davef
Thank you for comment and links to your code.