I run CircuitPython 7.3.1 on a Feather M0 Express. I installed the adafruit_logging library from the latest release. When I import this library in the main file code.py everything is ok:
Code: Select all
import adafruit_logging as logging
Then, I created a file morse.py in the lib folder and I want to import the logging library in the morse.py file. So in this file I wrote:
Code: Select all
import adafruit_logging as logging
Code: Select all
import morse
Code: Select all
code.py Ausgabe:
Zurückverfolgung (jüngste Aufforderung zuletzt):
Datei "code.py", Zeile 4, in <module>
OSError: [Errno 5] Eingabe-/Ausgabefehler
The rest of the code from my morse.py runs fine. What am I doing wrong?
Thanks in advance
Elektrix