 
 #define DIRECTION_CHANGE_PROBABILITY 15
 
-int sleepState = 0;
+
+int markovShakeState =1;
+int changeVal;
 
 StuGauss gauss;
 

Task pauseTask(&pauseCB);
Task restTask(&restCB);
Task sleepTask(&sleepCB);

StuScheduler schedule;

//halt laser at certain spot for a few moments at this time
void setNextPauseTime(unsigned long avg_sec_to_pause=15, double variance=12){

    v1.3.1 - Changed probability polling frequency to once a second
    v1.4.0 - Added ON/OFF Missile Switch from Sparkfun
    v1.5.0 - Added scheduler and gaussian library for random values
    v1.5.1 - Converted speed and direction function to scheduled task
*/
/**************************************************************************/

