I assume that if the sensor gives 0 it count up, and if it 1 it count down so 0 in sensor represent A sensor and 1 represent B sensorThe state table shows only one sensor, and nothing has a label of "A" or "B". ???
I assume that if the sensor gives 0 it count up, and if it 1 it count down so 0 in sensor represent A sensor and 1 represent B sensorThe state table shows only one sensor, and nothing has a label of "A" or "B". ???
So you changed the design to a single sensor? How will you handle the case when a car comes in the input door at the same time a car leaves by the exit door? What value will the sensor have in that case?i want to put sensor A in input door and sensor B in out put door .
well in the state table i wrote it as sensor but in fact they would be as two sensors . one in the input door and when the car come in give me 0 and other one in the out door and give me 1 when a car leave .So you changed the design to a single sensor? How will you handle the case when a car comes in the input door at the same time a car leaves by the exit door? What value will the sensor have in that case?
So your state table has two states (car entering, car leaving), but what about the state when nothing is happening (no car entering, no car leaving) and what about the state when a car is entering and a car is leaving simultaneously?well in the state table i wrote it as sensor but in fact they would be as two
Of course, that is what is supposed to happen. But how does the state table show that in order to make it happen?but when no car leave, no car out. the counter stay at the same state.
are you still interested in my project? i share the truth table. and some new ideasDon't worry -- it's an inside joke. Just provide the information requested (if interested) and I'll take care of the rest.