

In this example, the delay subroutine, clr, lcall, and ajmp instructions are mainly used to achieve the effect by lighting p1.0 .....P1.7 in turn. Users can learn the IO port operation of the MCU through the learning of this program.
Reference procedure:
Experiment 1 The simplest 8-way marquee. Connect the P1 port (JP44) of the CPU part to the JP32 of the eight-way indicator part with an 8PIN data cable; you can see that the 8-way light flashes in turn.
Org 0000h ; start
Ajmp loop
Org 0030h ; avoid the 00-30 sensitive address by 0030h
Loop:
Mov p1, #0ffh; turn off all lights
Clr p1.0 ; light lamp p1.0
Lcall delay; delay for a while?
Clr p1.1 ; lighting lamp p1.1
Lcall delay
Clr p1.2 ; lighting lamp p1.2
Lcall delay
Clr p1.3; lighting lamp p1.3
Lcall delay
Clr p1.4 ; lighting lamp p1.4
Lcall delay
Clr p1.5; lighting lamp p1.5
Lcall delay
Clr p1.6 ; lighting lamp p1.6
Lcall delay
Clr p1.7 ; lighting lamp p1.7
Lcall delay
AJMP LOOP; re-run at the beginning of the loop
Delay: mov r5, #20; delay.
D1: mov r6, #40
D2: mov r7, #248
Djnz r7,$
Djnz r6,d2
Djnz r5, d1
Ret
End
·Basic precautions
Do not put expensive oil into low-quality cartridges to avoid wastage. Most pre-filled oil cartridges have the so-called 510 thread. The oil cartridge screws onto a rechargeable battery. Some of these batteries have buttons and some heat up automatically when you pump the oil. Some batteries have multiple temperature settings and some heat up to a preset temperature; these features need to be known in advance.
·Cleaning notes
Use a suitable cleaning tool to clean them, such as activated charcoal or dried tea leaves in a used pipe to absorb the oil. It is important not to use alcohol or other boiling water to clean the pipe, and to wait until it has cooled down completely before cleaning. Otherwise, the hot stem will come into contact with the watery liquid and cause the mouthpiece tenon to loosen, thus shortening the life of the 510 cartridges.
This is what you should be aware of when using 510 cartridges. At the same time, when using 510 cartridges, there are still some vaping tips, for example, when using them, be careful not to suck too hard, will not produce smoke. When you inhale too hard, the smoke is sucked directly into your mouth and not atomized by the atomizer, so gently inhaling is more powerful and gives you a better vaping experience.
510 Cartridge Oem,Leakproof 510 Cartridge,510 Battery And Cartridges Oem,510 Cartridge
Shenzhen MASON VAP Technology Co., Ltd. , https://www.masonvap.com