monkeyhead123
Member
Hi there!
I've been given an assignment to produce a ladder that controls a set of traffic lights based on an output (that represents a pedestrian crossing button) Which I've succesfully managed to do.
However I'd like to make the pedestrian green light to flash a few times before changing back to red.
But my minds gone a bit blank... and I'm not quite sure how I'd go about doing that. I'm not asking for the solution,but yet to be pointed into the right direction with perhaps a hint or two.
I have a general idea though, which would be to use a counter to act as a loop to turn the light on and off?
Any hints/ideas/suggestions would be much appreciated!
Many thanks,
Matt
I've been given an assignment to produce a ladder that controls a set of traffic lights based on an output (that represents a pedestrian crossing button) Which I've succesfully managed to do.
However I'd like to make the pedestrian green light to flash a few times before changing back to red.
But my minds gone a bit blank... and I'm not quite sure how I'd go about doing that. I'm not asking for the solution,but yet to be pointed into the right direction with perhaps a hint or two.
I have a general idea though, which would be to use a counter to act as a loop to turn the light on and off?
Any hints/ideas/suggestions would be much appreciated!
Many thanks,
Matt