I need to modify a library (flavortext.h)

There are three #define numberOf... in the code. They are all 100 and they define the number of texts. There are better ways to do that, I would keep them as they are for now.
A mistake is easily made. Suppose you have 67 texts and set the define to 68, that could crash the sketch.

1 Like