]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
update constants to measured reality: noise depends on EMI issues, rather than
authorandreaskoepke <andreaskoepke>
Tue, 10 Jul 2007 13:19:04 +0000 (13:19 +0000)
committerandreaskoepke <andreaskoepke>
Tue, 10 Jul 2007 13:19:04 +0000 (13:19 +0000)
on sample and hold time.

tos/platforms/eyesIFX/sensors/sensors.h

index 42aa4ad9a430a171c6ba79035cabd43dd01474ab..4260c7483cf618a294d962ada20e6292f743fc23 100644 (file)
@@ -78,8 +78,8 @@ const msp430adc12_channel_config_t sensorconfigurations[] = {
     /* PHOTO_SENSOR_DEFAULT */
     {
         INPUT_CHANNEL_A2, REFERENCE_VREFplus_AVss, REFVOLT_LEVEL_1_5,
-        SHT_SOURCE_ACLK, SHT_CLOCK_DIV_1, SAMPLE_HOLD_4_CYCLES,
-        SAMPCON_SOURCE_ACLK, SAMPCON_CLOCK_DIV_1
+        SHT_SOURCE_SMCLK, SHT_CLOCK_DIV_1, SAMPLE_HOLD_64_CYCLES,
+        SAMPCON_SOURCE_SMCLK, SAMPCON_CLOCK_DIV_1 
     },
     /* PHOTO_SENSOR_VCC */
     {