51 single chip microcomputer code
Using an on-chip timer/counter to timing, timing interval of 1 s, MCU P1.0 feet a light-emitting diode, control led flashing, 1 s interval; When pressed a key operation of the I/O port line, light emitting diode according to the set time, for 1 s timing, how do you write the code?