Update digital_io.py