NXC SMUX LIGHTSENSOR VALUES

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
martin1990
Posts: 1
Joined: 21 Jan 2013, 18:53

NXC SMUX LIGHTSENSOR VALUES

Post 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);

    }    }
Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests