I have a sketch that I am working on and when I upload to the Uno and try and connect to HS it fails.
I have it traced down to the Line: int uS = sonar.ping(); // Send ping, get ping time in microseconds (uS).
If I comment that out it works. I am not sure why. I have attached the sketch and the debug file.
I had it working before, but it would basically do one read from the sensor and then stop.
I have it traced down to the Line: int uS = sonar.ping(); // Send ping, get ping time in microseconds (uS).
If I comment that out it works. I am not sure why. I have attached the sketch and the debug file.
I had it working before, but it would basically do one read from the sensor and then stop.
Comment