Page 1 of 1

NXC: Lightsensor Active values (NXT 1.0) at HT smux

Posted: 05 Mar 2013, 16:14
by HaWe
hey,
is it possible to get Lightsensor Active values (NXT 1.0 kit) at the HT smux
a) in percent mode 0-100
b) in raw mode 0...1024?

Re: NXC: Lightsensor Active values (NXT 1.0) at HT smux

Posted: 07 Mar 2013, 14:49
by mightor
Sure it is.
  • int smuxSensorLegoLightRaw(const byte muxport);
  • int smuxSensorLegoLightNorm(const byte muxport);
You can download this driver here: http://botbench.com/blog/2010/04/09/rel ... ensor-mux/

= Xander

Re: NXC: Lightsensor Active values (NXT 1.0) at HT smux

Posted: 07 Mar 2013, 18:27
by HaWe
mightor wrote:Sure it is.
  • int smuxSensorLegoLightRaw(const byte muxport);
  • int smuxSensorLegoLightNorm(const byte muxport);
You can download this driver here: http://botbench.com/blog/2010/04/09/rel ... ensor-mux/

= Xander
thank you!