16.6 DESIGN CASES
16.6.1 If-Then
Problem: Convert the following C/Java program to ladder logic.
16.6.2 Traffic Light
Problem: Design and write ladder logic for a simple traffic light controller that has a single fixed sequence of 16 seconds for both green lights and 4 second for both yellow lights. Use either stacks or sequencers.
Solution: The sequencer is the best solution to this problem.