Read HiTechnic IRSeeker values.
Read direction, and five signal strength values from the HiTechnic IRSeeker 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 NBC 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. |
| _result | The function call result. |