Hey, everyone! I really need help. We just implemented a circuit that can count and subtract a number using LDR, 74ls192, 74ls47 and 7 segment but after implementing it doesn't work properly while in the simulation by using Proteus the circuit works well. So, we decided to use an Arduino. But I'm having trouble on how to program an Arduino! I'm new to it! The problem is how can I program a system that upon entering a miniature parking lot that has only 20 slots in the area and that can count 1-20 and upon leaving the area it should minus.
Sorry for the disturbance.