hello, im doing project on traffic control using ir sensor and arduino. but im facing problem that my project is not working properly.there’s som problem with ground pin whenever i removed and re attached ground pin the loop start and after complication of loop it ends.
I grounded all the ir sensor and led’s negative terminal by common ground same for +5v power supply.
i have attached my source code in attachment. please help me on this.
test_1.ino (10.9 KB)