]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/eyesIFX/sensors/BatteryLevelSensorC.nc
use ACLK as clock source for ADC -- may use less energy
[tinyos-2.x.git] / tos / platforms / eyesIFX / sensors / BatteryLevelSensorC.nc
index 600c0e2aab3ab503ff219fbbcedbb46e374e8973..68a940d360bdb1385a4eb259e886499722067052 100644 (file)
@@ -48,10 +48,10 @@ implementation
              
     components new AdcReadClientC() as AdcReadClient;
     Read = AdcReadClient;
-    AdcReadClient.AdcConfigure -> Settings.AdcConfigure[INTERNAL_VOLTAGE_REF_2_5V];
+    AdcReadClient.AdcConfigure -> Settings.AdcConfigure[INTERNAL_VOLTAGE_REF_2_5V_LOW_FREQ];
   
     components new AdcReadNowClientC() as AdcReadNowClient;
     ReadNow = AdcReadNowClient;
     ReadNowResource = AdcReadNowClient;
-    AdcReadNowClient.AdcConfigure -> Settings.AdcConfigure[INTERNAL_VOLTAGE_REF_2_5V];
+    AdcReadNowClient.AdcConfigure -> Settings.AdcConfigure[INTERNAL_VOLTAGE_REF_2_5V_LOW_FREQ];
 }