From: andreaskoepke Date: Tue, 10 Jul 2007 13:19:04 +0000 (+0000) Subject: update constants to measured reality: noise depends on EMI issues, rather than X-Git-Tag: release_tools_1_2_4_1~55 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=863598a8af53710e037fb54601720193cb42c9b3 update constants to measured reality: noise depends on EMI issues, rather than on sample and hold time. --- diff --git a/tos/platforms/eyesIFX/sensors/sensors.h b/tos/platforms/eyesIFX/sensors/sensors.h index 42aa4ad9..4260c748 100644 --- a/tos/platforms/eyesIFX/sensors/sensors.h +++ b/tos/platforms/eyesIFX/sensors/sensors.h @@ -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 */ {