|
NXT C++ Bluetooth Library | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Sensor | +--Rotationin rotation.h
Class for RCX rotation sensor
| Fields inherited from class Sensor |
|
| Constructor Summary | |
Rotation( Sensor_port port, Connection* connection )
Constructor for the rotation sensor |
|
~Rotation()
|
|
| Method Summary | |
string |
print()
Get the sensor reading as a string (init method will be called if the sensor has not been initialized) |
void |
set( unsigned int value )
Reset the tick count |
| Methods inherited from class Sensor |
init, read, read, print, set, get_port, get_mode, |
| Constructor Detail |
public Rotation( Sensor_port port, Connection* connection );
port - [which sensor port to use]
*connection - [attach a connection]public ~Rotation();
| Method Detail |
public string print();
public void set( unsigned int value );
value - [use RESET_TICKS to reset the tick count]
|
NXT C++ Bluetooth Library | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||