Closed benpicco closed 5 years ago
Interesting, didn't know about this. The gamma tool actually came from Adafruit::NeoMatrix, so there is likely the same problem there, but I included this here, thanks.
Well maybe it's just my build system that does that, thank you regardless! :smile:
Gotcha. Either way, no harm in adding your patch. When I get a chance, I'll look at your simulator, looks cool :)
@benpicco by the way, if you want a big stress test as well as a bunch of 64x64 demos for your simulator, see if you can get https://github.com/marcmerlin/NeoMatrix-FastLED-IR working. It would be impressive if it works in a simulator.
Some build systems are
lazyefficient and will just try to build every source file they can find in the library folder. Let's do the same as Adafruit-GFX and not compile the tool code when building for Arduino, to avoid ending up with two main() methods.