A component that provides a high-level interface to a light sensor on a LEGO MINDSTORMS NXT robot
The BluetoothClient component that should be used for communication. Must be set in the Designer
The sensor port that the sensor is connected to. Must be set in the Designer
Whether the light sensor should generate light.
The bottom of the range used for the BelowRange, WithinRange, and AboveRange events.
The top of the range used for the BelowRange, WithinRange, and AboveRange events.
Whether the BelowRange event should fire when the light level goes below the BottomOfRange.
Whether the WithinRange event should fire when the light level goes between the BottomOfRange and the TopOfRange.
Whether the AboveRange event should fire when the light level goes above the TopOfRange.
Light level has gone below the range.
Light level has gone within the range.
Light level has gone above the range.
Returns the current light level as a value between 0 and 1023, or -1 if the light level can not be read.