Posted: 05:12pm 21 Jan 2024 |
Copy link to clipboard |
Print this post |
|
Is it possible that the PicoMite crashes if the path is too long? The following program:
Option Explicit Dim WAVbusy As INTEGER Const TRUE=1 Const FALSE=0
Print "Play"
Do WAVbusy=TRUE 'Play WAV "B:\_Lakesidebox+Zwitscherbox\birds-in-forest-on-sunny-day_birds-in-forest-on-sunny-day.wav",IROUTINE Play WAV "B:\_Lakesidebox+Zwitscherbox\birds-in-forest-on-sunny-day--Kopie14444hallo.wav",IROUTINE Do Loop While Wavbusy=TRUE Loop
Sub IROUTINE WAVbusy=FALSE End Sub
It is the same WAV twice, just with a different name. The first line (currently deactivated) works. The second leads to this error:
Play Error: Invalid address - resetting > Is this due to the path length?
Frank
These are my settings:
PicoMite MMBasic Version 5.08.00 OPTION SYSTEM SPI GP10,GP11,GP28 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION HEARTBEAT OFF OPTION PICO OFF OPTION LCDPANEL ST7789_135, LANDSCAPE,GP8,GP12,GP9,GP25 OPTION SDCARD GP23, GP18, GP19, GP20 OPTION AUDIO GP2,GP3', ON PWM CHANNEL 1 Edited 2024-01-22 03:14 by Frank N. Furter |