That gives a 28 second cycle, but the extra 1 second for each Delayed Green results in no crashes. You are shooting for a 26-second cycle, so set your timers for 80, 40, 20, 80, 40, 20. ![]() For example, the red lights should be controlled by just two different timer DN (Done) bits (in series for one red light, in parallel for the other one), while all the others can be controlled by a different single TT (Timer Timing) bit.Ĥ. Now look to see if some lights can be defined as combinations of other lights. Go back and do what you should have done first, that is to make a timing diagram showing what time each color light goes on, and what time it goes off.ģ. If a one second delay proves insufficient to get these drivers under control, then just go ahead and jack the delay up to two Exercise 2 - Dealing with Pedestrians Modify your program so that the crosswalks are also controlled. When your timer T4:5 finishes, that is the end of cycle and T4:0 should be reset and start the cycle again at 0 seconds. You never want your lights to stop working. You can use 6 timers (1 will do), but remember it is a cycle, it should continue to loop. I will give him some little hints anyway.ġ. Surely with a little searching, AnthonyWade can find what he needs. It has been solved, discusssed, debated, and condemmed on this site for years and years.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |