|
NXT C++ Bluetooth Library | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Sensor | +--Touchin touch.h
Class for NXT and RCX touch sensor
| Fields inherited from class Sensor |
|
| Constructor Summary | |
Touch( Sensor_port port, Connection* connection )
Constructor for the touch sensor (default mode is bool) |
|
~Touch()
|
|
| Method Summary | |
string |
print()
Get the sensor reading as a string (init method will be called if the sensor has not been initialized) |
| Methods inherited from class Sensor |
init, read, read, print, set, get_port, get_mode, |
| Constructor Detail |
public Touch( Sensor_port port, Connection* connection );
port - [which sensor port to use]
*connection - [attach a connection]public ~Touch();
| Method Detail |
public string print();
|
NXT C++ Bluetooth Library | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||