From 863598a8af53710e037fb54601720193cb42c9b3 Mon Sep 17 00:00:00 2001 From: andreaskoepke Date: Tue, 10 Jul 2007 13:19:04 +0000 Subject: [PATCH] update constants to measured reality: noise depends on EMI issues, rather than on sample and hold time. --- tos/platforms/eyesIFX/sensors/sensors.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ { -- 2.39.2