hello guys! I am wondering on how to add the code for ldr on a code such as the one attached. I am sorry if the question seems stupid but it looks confusing for me :(. Thank you very much!
Mario.ino (6.71 KB)
hello guys! I am wondering on how to add the code for ldr on a code such as the one attached. I am sorry if the question seems stupid but it looks confusing for me :(. Thank you very much!
Mario.ino (6.71 KB)
Tune, not tone. get a YX-5300 sound card. play up to 255 files per folder from 255 folders, control it over Serial
I don't know that one but I do have DFPlayer Mini modules (pins fit breadboard) with uSD socket. They can be run serial or with few buttons or in one mode different resistors for many buttons.
edit:add PS checked the XY-5300 and it is the Catalex module very similar to the DFPlayer down to codes. I have one wired up where I experimented with it until I got DFPlayers real cheap in bulk at the time years ago.
But I first took the OP to mean with the current hardware beeper. It can be a quick result before an ordered part can arrive that more important can teach a bit of wiring and code. The code could serve as the base for running a sound module in place of running the tone() code, there'd be fewer bugs to work out for just that step after the first sketch has been debugged.
clarifying: The DF mini player uses a YX-5200 chip, and many pins
the Catalex yx-5300 uses the next generation IC, same functionality, but controlled via Serial, so it only ties up two pins.
The Mini has serial interface, I have both. DF packaged the Mini really well, about half the area of the Catalex.
But I'd suggest that a simple few note tone tune isn't always worth adding a module over.