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 designMOV A, #01H
LOOP: MOV P1, A
LCALL DELAY
RR A
LJMP LOOP
INT0: CLR EA
PUSH ACC
PUSH P1
SETB EA
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