Introduction - If you have any usage issues, please Google them yourself
LED STC12C5A60S2 delay flashing program
1, program instructions:
This routine demonstrates the P0.0 port on the microcontroller LED flash test.
In the main program first to let the LED bright 500ms, then let the LED out 500ms,
Alternately and repeatedly, resulting in the phenomenon of LED flashing.
2, experimental operation
The dial switch LED S10 end of the ON to the side, indicating that the end is connected.
At the same time, the other end of the dial switch is in a disconnected state, that is, the switch is not transferred to the ON terminal.
Otherwise, it will affect the experimental results.
After the program is downloaded to the development board can be observed in the light emitting diode D4 flashes every 500ms.