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 TransducerDemo implements FogApp
{
   
	private static final Port LIGHT_SENSOR_PORT = A1;


    @Override
    public void declareConnections(Hardware c) {
        
    	c.connect(LightSensor, LIGHT_SENSOR_PORT);
        c.setTimerPulseRate(2000);
    }


    @Override
    public void declareBehavior(FogRuntime runtime) {
        
    	runtime.registerListener(new CustomSumTransducerBehavior());
    }
          
}

@@ -70,19 +70,84 @@
 ove.
-GroveTwig.*
+simple_analog.SimpleAnalogTwig.*;%0Aimport static com.ociweb.iot.maker.Port.A1
 ;%0A%0Ai
@@ -173,17 +173,22 @@
 t.maker.
-*
+FogApp
 ;%0Aimport
@@ -180,38 +180,109 @@
 .FogApp;%0Aimport 
-static
+com.ociweb.iot.maker.FogRuntime;%0Aimport com.ociweb.iot.maker.Hardware;%0Aimport
  com.ociweb.iot.
@@ -291,18 +291,16 @@
 ker.Port
-.*
 ;%0A%0Apubli

fix imports