Merge branch 'master' of https://github.com/szmoore/MCTX3420.git
authorJeremy Tan <[email protected]>
Sun, 22 Sep 2013 00:43:17 +0000 (08:43 +0800)
committerJeremy Tan <[email protected]>
Sun, 22 Sep 2013 00:43:17 +0000 (08:43 +0800)
1  2 
server/actuator.c
server/actuator.h
server/fastcgi.c
server/sensor.c
server/sensor.h

Simple merge
Simple merge
Simple merge
diff --cc server/sensor.c
@@@ -39,7 -43,16 +43,15 @@@ void Sensor_Init(
        {
                g_sensors[i].id = i;
                Data_Init(&(g_sensors[i].data_file));
 -              g_sensors[i].record_data = false;       
        }
+       // Get the ADCs
+       ADC_Export();
+       // GPIO1_28 used as a pulse for sampling
+       GPIO_Export(GPIO1_28);
+       // GPIO0_30 toggled during sampling
+       GPIO_Export(GPIO0_30);
  }
  
  /**
diff --cc server/sensor.h
Simple merge

UCC git Repository :: git.ucc.asn.au