I’m stuck in my code here. I defined 2 global variables (countLeft and countRight) Strangte thing is that depending where I am in my code flow, the value is NOT always the same. I have attaced my fiull code here.
Any idea what I am doing wrong ? (See also serial debug)
Apprectaie yoiur help !!
SmartCarUltraSonicTest.ino (3.86 KB)
Debug.txt (977 Bytes)