Release 1.3.1 

New two stage cadence loop timing algorithm with reference time calculation that ensures precise time synchronization and that self-corrects accumulated drift, interrupts and unforeseen delays.

Minor bug fixes and refactoring several functions for quality and memory optimization
Added several new functions and expanded several examples with more solution options
Expanded the documentation with detailed process drawings and additional explanations


Name changes:
-------------
set_PinOutputMode  changed to set_outputMode

get_pinOutputMode  changed to get_outputMode
get_pinOutputValue changed to get_outputValue

New MTD2A_binary_output functionality:
-------------------------------------
set_PWMcurveType (NO_CURVE / Curve number);
set_timers (outputTimeMS); // {0 - MAX_TIME_MS}
set_timers (outputTimeMS, beginDelayMS);
set_timers (outputTimeMS, beginDelayMS, endDelayMS);
set_repeatActivate ( {ENABLE | DISABLE} );
set_outputOptimize ( {ENABLE | DISABLE} );

get_PWM_curve_type (); {Curve number}
get_outputMode     (); {BINARY | P_W_M}
get_outputState    (); {true | false}
get_outputProcess  (); {ACTIVE | COMPLETE}
get_repeatActivate (); {ENABLE | DISABLE}
get_outputOptimize (); {ENABLE | DISABLE}

New MTD2A_base functionality:
----------------------------
reset_stats ();



