Read HiTechnic IRSeeker2 DC values.
Read direction, five signal strength, and average strength values from the HiTechnic IRSeeker2 sensor. Returns a boolean value indicating whether or not the operation completed successfully. The port must be configured as a Lowspeed port before using this function.
- Parameters
-
port | The sensor port. See Input port constants. |
dir | The direction. |
s1 | The signal strength from sensor 1. |
s3 | The signal strength from sensor 3. |
s5 | The signal strength from sensor 5. |
s7 | The signal strength from sensor 7. |
s9 | The signal strength from sensor 9. |
avg | The average signal strength. |
- Returns
- The function call result.
- Examples:
- ex_ReadSensorHTIRSeeker2DC.nxc.