The following test script will execute after a hard RESET, but fails with an I/O Error after a soft reboot
test.py
from analogio import *
from board import *
aout = AnalogOut(D1)
HARD RESET
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 4.0.0-beta.2-79-gfd3e9ce2f on 2019-02-17; Adafruit Trinket M0 with samd21e18
>>> import test
>>>
soft reboot
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 4.0.0-beta.2-79-gfd3e9ce2f on 2019-02-17; Adafruit Trinket M0 with samd21e18
>>> import test
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "test.py", line 3, in <module>
OSError: [Errno 5] Input/output error
>>>
The following test script will execute after a hard RESET, but fails with an I/O Error after a soft reboot
test.py