|
NXC
Version 1.2.1 r5
|
|
inline |
Configure DISTNx as GP2YA02.
Configure the mindsensors DISTNx sensor as GP2YA02. The port must be configured as a Lowspeed port before using this function.
| port | The sensor port. See Input port constants. |
| i2caddr | The sensor I2C address. See sensor documentation for this value. |