|
Re: "GetUltrasonic" hangup
I have also noticed a considerable hang time when reading the sonar sensor. From testing mulitiple sonars, the problem is usually hardware related such as a loose cable or connector. Always listen for a faint clicking noise to make sure the sonar is operating.
However, the sonar driver needs updating on the easy C kit, possibly something more interrupt based similar to kevin watson's accelerometer code.
|