Page 1 of 1

NXC SMUX LIGHTSENSOR VALUES

Posted: 21 Jan 2013, 19:01
by martin1990
Hello,
my problem is that my lightsensor only measures values from about 10 to 30 when im using him through the sensormultiplexer.Do someone know if i can change that so that the values are more or less between 0 and 100? Can i programm that somehow with bricx???
Here is the programm if it helps

Code: Select all

#include"HTSMUX-driver.h"
int lightvalue;
task main() {
SetSensorLowspeed(S1);



while(true)
{

lightvalue = smuxSensorLegoLightNorm(msensor_S1_1);
NumOut(0, LCD_LINE2, lightvalue);

    }    }