| ||||||
Files | |
| file | mindsensors-sumoeyes.h |
Mindsensors Sumo Eyes Sensor driver. | |
Enumerations | |
| enum | tObstacleZone { MSSUMO_NONE = 0, MSSUMO_FRONT = 1, MSSUMO_LEFT = 2, MSSUMO_RIGHT = 3 } |
Functions | |
| tObstacleZone | MSSUMOreadZone (tSensors link) |
| void | MSSUMOsetShortRange (tSensors link) |
| void | MSSUMOsetLongRange (tSensors link) |
Variables | |
| TSensorTypes | MSSUMOLRType = sensorLightInactive |
| TSensorTypes | MSSUMOSRType = sensorLightActive |
Mindsensors Sumo Eyes Sensor
| enum tObstacleZone |
Definition at line 45 of file mindsensors-sumoeyes.h.
| tObstacleZone MSSUMOreadZone | ( | tSensors | link ) |
Get the raw value from the sensor
| link | the MSSUMO port number |
Definition at line 61 of file mindsensors-sumoeyes.h.
| void MSSUMOsetLongRange | ( | tSensors | link ) |
Set the range of the sensor to long range, this is done by configuring the sensor as sensorLightInactive
| link | the MSSUMO port number |
Definition at line 104 of file mindsensors-sumoeyes.h.
| void MSSUMOsetShortRange | ( | tSensors | link ) |
Set the range of the sensor to short range, this is done by configuring the sensor as sensorLightActive.
| link | the MSSUMO port number |
Definition at line 93 of file mindsensors-sumoeyes.h.
| TSensorTypes MSSUMOLRType = sensorLightInactive |
Definition at line 42 of file mindsensors-sumoeyes.h.
| TSensorTypes MSSUMOSRType = sensorLightActive |
Definition at line 43 of file mindsensors-sumoeyes.h.
1.7.2