Interruptible control of the cycle lantern system

【Project requirements】

By pressing the button K, the LEDs are turned on and off. When the button is not pressed, the 8 LEDs are the bright left flow mode (one light is turned on each time, and the light is turned from right to left). When the K key is pressed once, The 8 LEDs flash together 6 times, and the blinking time is 1S.

[project implementation] hardware design

software design

MOV A, #01H

LOOP: MOV P1, A

LCALL DELAY

RR A

LJMP LOOP

INT0: CLR EA

PUSH ACC

PUSH P1

SETB EA

3. Assign the resulting HEX format file to the MCU chip in the microcontroller in PROTEUS. Run the simulation and observe the simulation results

Air Circulation Fryer

Air Circulation Fryer,Electric Oil Less Fryer,Large Capacity Air Fryer,Multi Function Air Fryer Oven

Ningbo ATAP Electric Appliance Co.,Ltd , https://www.atap-airfryer.com