Posted: 01:51pm 28 May 2025 |
Copy link to clipboard |
 Print this post |
|
Hello to all!
I have a PicoMite HDMI/USB with I2S and have a problem with "PLAY MP3".
My options are:
PicoMiteHDMI MMBasic USB RP2350B Edition V6.00.02RC18 OPTION SERIAL CONSOLE COM2,GP8,GP9 OPTION SYSTEM I2C GP20,GP21 OPTION FLASH SIZE 16777216 OPTION COLOURCODE ON OPTION KEYBOARD GR, 0, 0, 250, 25 OPTION PICO OFF OPTION CPUSPEED (KHz) 252000 OPTION RESOLUTION 640x480 OPTION HDMI PINS 1, 3, 5, 7 OPTION SDCARD GP29, GP30, GP31, GP32 OPTION KEYBOARD REPEAT 250,25 OPTION AUDIO I2S GP10,GP22', ON PWM CHANNEL 11 OPTION RTC AUTO ENABLE OPTION COUNT GP0,GP1,GP2,GP3 OPTION MODBUFF ENABLE 512 OPTION PLATFORM FM OPTION PSRAM PIN GP47 OPTION HEARTBEAT PIN GP25 I have problems with this program:
Rem Test of PLAY MP3 file file$ = "b:\mp3\" Play VOLUME 10,10 Play MP3 file$ Print "Type in PLAY STOP to stop playing music." When I start the program with F2 from the editor, it works perfectly. “PLAY NEXT” also works as expected. However, when I start it with RUN, I simply hear nothing at all, but I don't get an error message either.
When I enter PLAY NEXT, I get the error message “Error : Nothing to play”. The program only works if I start it from the editor with F2! WHY? What am I doing wrong?
Frank |