LED applications are very broad, including communications, consumer electronics, automotive, lighting, signal lights, etc., can be broadly divided into backlight, lighting, electronic equipment, display C, screen car and other five areas.
In the program, two counter variables of one bit COUNT1 and ten COUNT10 are used. In addition, after each LED is lit 5 times, the ones are automatically incremented by 1, and then it is judged whether the ones are 10 or not. If not, the ones and ten LEDs are lit, and if so, whether the ten is 9 or not, If yes, all are cleared to 0. If not, the ten digits are incremented by one, and the ones digits are cleared to zero. Then, the judgment is continued and the loop is continued. The flow of this example program is shown in the figure.
The list of procedures is as follows.(1) C language program.
1 contains the necessary header files and global variables needed to define the program.
Oil Filter For FORD
Ford Oil Filter Replacement,Oil Filter For Ford,Ford Car Oil Filter,Ford Auto Oil Filter
Zhoushan Shenying Filter Manufacture Co., Ltd. , https://www.renkenfilter.com