user11174: On Dr. Monk's library page here, he states: "You can attach up to 10 events to a timer." I am wondering if this is a hardware limit, or if it was an arbitrary number he chose for his library.
In Timer.h, he defines the maximum number of timed events like this:
#define MAX_NUMBER_OF_EVENTS (10)

Can you foresee any problems if I changed that to a higher number? My sketch is already approaching the limit of 10 timed events running at the same time, so it would help me if I was able to increase the maximum number of timed events to about 20.

user2881: I don't see anything that would cause any issue. Just don't exceed 255.

11174: <p>On Dr. Monk's library page <a href="http://www.doctormonk.com/2012/01/arduino-timer-library.html" rel="nofollow">here</a>, he states: "You can attach up to 10 events to a timer." I am wondering if this is a hardware limit, or if it was an arbitrary number he chose for his library.</p>

<p>In Timer.h, he defines the maximum number of timed events like this:</p>

<pre><code>#define MAX_NUMBER_OF_EVENTS (10)
</code></pre>

<p>Can you foresee any problems if I changed that to a higher number? My sketch is already approaching the limit of 10 timed events running at the same time, so it would help me if I was able to increase the maximum number of timed events to about 20.</p>
 2881: <p>I don't see anything that would cause any issue. Just don't exceed 255.</p>
