Read HiTechnic IRSeeker2 AC values.
Read direction, and five signal strength values from the HiTechnic IRSeeker2 sensor in AC mode. 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. |
- Returns
- The function call result.
- Examples:
- ex_ReadSensorHTIRSeeker2AC.nxc.