Bug found - is it too late to fix?

The following program works fine for writeBlue or writeGreen, but fails for writeRed as soon as the tone function is called once. I tried to work around it by using writeRGB but the bug doesn't go away even with using that. The random delay code below just makes it easier to observe, and isn't related to the issue.

void setup() {}
void loop() {
  while (1) 
  { Esplora.writeBlue(random(200)); delay(500);
    Esplora.tone(random(100)); delay(500); };

Why do you think it might be “too late to fix”?

Because the Esplora is a discontinued product, I guess.

pert: Why do you think it might be "too late to fix"?

Do the people who are responsible the Esplora library code read these forums? Or do I need to consider finding the library code myself and trying to fix it myself? Where would I look for it?

No, they usually don't read the forum. This is mostly a place for the Arduino community to talk and help each other.

It's certainly worth having a look at the library to see what you can do. I've never used an Esplora. I know that using Tone does interfere with PWM on certain pins.

Thanks for the info. I'm not smart enough to even know where to look for the Esplora code, so I'll just have to leave it to smarter people to fix.

Maybe the site you are looking for is this one: https://github.com/arduino-libraries/Esplora

Yes, that's it. If you want to find where the library is on your computer:

  • File > Examples > Esplora > Beginners > EsploraAccelerometer
  • Sketch > Show sketch folder - this will open the Esplora library's EsploraAccelerometer example sketch folder.
  • Navigate up three folder levels to the Esplora folder. You will find the library source code in the src subfolder. You can open those files with a text editor and edit them as you like.

ardudee2: Because the Esplora is a discontinued product, I guess.

Are you sure? https://store.arduino.cc/arduino-esplora