No such file or directory when using ev3.speaker.play_file #255
Unanswered
Serial-Comma
asked this question in
Q&A
Replies: 2 comments
-
Could it be that you are confusing the MAC filename and the filename on the EV3? Maybe try to copy the Might also be that I did not correctly interpret your issue 😄 Bert |
Beta Was this translation helpful? Give feedback.
0 replies
-
Place It will get downloaded to the EV3 automatically when you run your project. In your code, use: ev3.speaker.play_file('hello.mp3') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I have just started using micropython, so I apologise in advance if this is a relatively simple problem to solve
I want to play a mp3 file I have in my downloads folder on my ev3 brick, so I used this code:
However, it gives. me this error:
I'm using a mac OS. Does their file system work in some special way or something? I copied the file name directly from Finder's Right click -> Copy "hello.mp3" as pathname, so I don't really know what to do
I changed my username in the directory into "MyUsername" for privacy reasons(It's my irl name) but the same error occurs regardless.
Screenshots
Any help would be appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions