Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

NXT C++ Bluetooth Library
Class Light_rcx

Sensor
   |
   +--Light_rcx

   in rcx_light.h

class Light_rcx
extends Sensor

Class for RCX light sensor


 
Fields inherited from class Sensor
has_init, connection, sensor_type, sensor_mode, sensor_port, raw_AD_value, normalized_AD_value, scaled_value, calibrated_value
 
Constructor Summary
Light_rcx( Sensor_port port, Connection* connection )
          Constructor for the RCX light sensor (percent mode is default)
~Light_rcx()
          
   
Methods inherited from class Sensor
init, read, read, print, set, get_port, get_mode, set_type_and_mode, get_sensor_value, read_mode, read_raw, read_normalized, get_type, reset, get_i2c_address
 

Constructor Detail

Light_rcx

public Light_rcx( Sensor_port port, Connection* connection );
Constructor for the RCX light sensor (percent mode is default)
Parameters:
port - [which sensor port to use]
*connection - [attach a connection]

~Light_rcx

public ~Light_rcx();

 Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD