SEG_port == 6 ;//PORT6=SEG0--SEG7
seg0 == 0x10 ;//靜態(tài)變量
seg1 == 0x11
seg2 == 0x12
seg3 == 0x13
seg4 == 0x14
seg5 == 0x15
seg6 == 0x16
seg7 == 0x17
LCD_scan_status == 0x18
LCD_scan_counter == 0x19
LCD_scan_temp == 0x1a ;//動(dòng)態(tài)變量
seg_TEMP == 0x1b
com_temp == 0x1c
!seg_port=0 ;//seg_port為outport
LCD_drive()
SEG_temp=0xff
com_temp=0xff
LCD_scan_temp=LCD_scan_counter
_if LCD_scan_temp!=0
goto ld1
jbc seg0,0 ;//COM0
bc SEG_temp,0
jbc seg1,0
bc SEG_temp,1
jbc seg2,0
bc SEG_temp,2
jbc seg3,0
bc SEG_temp,3
jbc seg4,0
bc SEG_temp,4
jbc seg5,0
bc SEG_temp,5
jbc seg6,0
bc SEG_temp,6
jbc seg7,0
bc SEG_temp,7
bc com_temp,0
ld1:
_if --LCD_scan_temp!=0
goto ld2
jbc seg0,1 ;//COM1





