Dear Nordic Team,
Thanks for supporting.
Anybody work with ultrasonic sensor (HC-04). Please guide me. I am just interface with arduino example its working good. It have built in function for "pulseIn". I dont know how to make this function in nRF51422 keil version. Please support.
You need to configure the GPIO for HIGH/LOW sensing and use the generated interrupts to start and stop a timer.
Check out this answer.
And note that device appears to be 5v so think carefully about how you interface it (unless there's a 3v version I didn't find).
@Jørgen , Thanks for reply. Already i got that link but show me a error "Object is unavailable".
@RK , Thanks for your advice. But i am work with ESP8266 node mcu module. Its working fine
@murugan, you can download the latest nRF5 SDK with support for nRF51 series (SDK 12.3.0) on this page. The example documentation is found here: GPIOTE - TIMER.