Description: Curriculum design of traffic lights, each time there is only one key role, the rest of the keys to microcontroller reset before use. Press K1 key, the digital two 0 to 59 after the count, over 60 to carry high the two digital, high-two Bit range is 0 to 59, while a water lights, then K1 is only one key is converted to digital display 0 to 9, and then key the loop.
Press the K2 key, the digital two 0 to 59 after the count, over 60 to the high carry a digital tube, high a range of 0 to 9, over time and then key the K2 LED off. Press K3 key , The digital count of 0 to 59 after two, over 60 to start counting, over time water and then lights the LED off key K3. Press the key K4, the program will display traffic lights, digital tubes naturally divided into two Group, followed by red for 20 seconds countdown count--->----> green light yellow light flashes 5 seconds 20 seconds---> cycle.
To Search:
File list (Check if you may need any files):
traffic lights.c