In my code, I’m using both the libraries (NewPing.h and VirtualWire.h).
But when I upload and run my code, the program looping freezes after 4 loops and stops working (it simply sits idle).
When I remove the VirtualWire related declarations, the code works fine.
Kindly help me out
//Program might have more Serial.print statements, so take it easy.
PID_IFS__RF_IMP.ino (8.37 KB)