You have LittleFS memory configured, i.e. without a card or Autostorage. If you want to use the card rigidly, find at the beginning of the code
For commenting everything just leave the sd definition
Greetings....
Added after 43 [minutes]: dawidkosciesza wrote: I've ordered myself a PAM8406 for trial.
Anyone know it, tested it? A little more power and probably a better class of amplifier and there are versions with built-in potentiometers.
As for the potentiometers, I guess you'll have to solder them on the underside to set the value. It's a shame they came out under PCM.
I tested the PAM8406 amplifier, for me it makes no difference in terms of quality both play the same.
Well now some myths to dispel.
Power or more powerful - No
PAM8403 2x3W at 4ohm speakers
PAM8406 2x5W at 2ohm speakers
PAM8406 2x3W at 4ohm speakers.
It comes out to the same thing.
In addition, the PAM8406 has the option to work as a class AB linear amplifier, there is an input to switch the mode, but on this module it is not led to the goldpin, but on the PCB of the amplifier is permanently selected class D, so here it does not differ from the PAM8403.
The only option that speaks in favour of its use are the PRs (they used to be called horseshoes - by the way, I wonder if any of the youngsters today have come across such a name).
And the problem of inconveniently placed potentiometers would be solved. Take a look.
Further changes to the PCB - we are mounting the PAM8406 with PRs.
And so it is in 2D on
And the name horseshoe itself comes from the first mounting potentiometers very much resembling horseshoes. This is such an offtopic 😀
Any ideas on the PCB yet ?
Instead of the IR there will be a JST4pin connector with one pulled out so that the spacing remains at present and if necessary give a 4pinJST plug and drive the receiver out on the wire.
As for the chokes in series with the speakers, maybe they will appear tomorrow as time allows, I will test if it makes a difference by mounting them on the cable to the speakers.
Regards...
Greetings...