package com.ociweb.oe.foglight.api;


//import static com.ociweb.iot.grove.GroveTwig.*;

import com.ociweb.iot.maker.*;
import static com.ociweb.iot.maker.Port.*;

public class Timer implements FogApp
{
	

    @Override
    public void declareConnections(Hardware c) {
    	c.setTriggerRate(1); //the rate at which time is checked in milliseconds
        
    }

    @Override
    public void declareBehavior(FogRuntime runtime) {
    	
    	runtime.addTimeListener(new firstTimeBehavior(runtime));
    	//runtime.addTimeListener(new secondTimeBehavior(runtime));
    	
    }
}

@@ -277,14 +277,17 @@
 setT
-rigger
+imerPulse
 Rate

update to new method name