hi all, im having a strange problem with newping.
when i populate a variable with pulseIn i get values in ms and then i serial write that and it shows up on my serial monitor.
when i populate the same variable with sonar.ping i get nothing, as if my sonar.ping isnt reporting values back to the computer.
its not the serial stuff because when i manually set the value it works perfectly, albeit it is a constant.
both seem to return unsigned int, and both in ms.
i know its probably a silly problem but does anyone have any ideas about how to do this?
what form is the output of sonar.ping?
" " " of pulseIn.