varunme
Advanced Member level 3
How can i make a c code for comparing an array in two ways ?
like a series of street light switch on and off when some vehicle or a pedestrian come infront of a sensor.
each light consist of two sensors , the light switch on when the pedstrian crosses one sensor and switch off when it crosses another but switch on another light,
The vehicle is coming from both sides so , i have to compare and check the array in two ways.
like a series of street light switch on and off when some vehicle or a pedestrian come infront of a sensor.
each light consist of two sensors , the light switch on when the pedstrian crosses one sensor and switch off when it crosses another but switch on another light,
The vehicle is coming from both sides so , i have to compare and check the array in two ways.