Hello,
I am new to Aforge, and I have been trying to read the ultrasonic sensor value, connected on port 1 of my Lego NXT, but the 1st time I call the method GetUltrasonicSensorValue, an Application Exception is fired with error code 221, but if I call the method again, a good value is obtained from the sensor. What does error code 221 mean? I am thinking of looping this method call until a successful result is obtained in order to tackle this problem. Is this the correct way to go about it?
Thank you for your time,
RobotFan