Though it seems improbable, if you're unwilling or unable to divulge the code, kindly provide a concise demonstration that compiles, shedding light on the issue at hand. This will enable us to discern the true nature of the problem, particularly if certain analog pins used as digital pins are indeed causing complications.
Aside from the occasional hiccup with analog pins masquerading as digital outputs, I'm not privy to any other peculiarities of this nature. However, I'm eager to uncover any additional intricacies that may elude my current awareness.
Perhaps with a more thorough perusal of the documentation, the fog surrounding the code will dissipate. At first glance, the code you've shared seems entirely plausible.
Best Regards:
Sonic Menu