mcsakoff / pydigitemp

Python implementation of 1-Wire protocol.
Other
16 stars 11 forks source link

Windows compatibility #8

Closed arnauddevie closed 3 years ago

arnauddevie commented 3 years ago

On Windows, calling fileno() on a Serial object raises an UnsupportedOperation exception.

import serial
uart = serial.Serial('COM4')
uart.fileno()

image

I will be submitting a pull request to address this issue and let Windows users work with pydigitemp.