Timing, suspend, remove three buttons
Evaluate a PB code, help
CodePudding user response:
Time, flash so muchTime lt_start, lt_now
Int li_hh1 li_mm1, li_ss1 li_ff1, li_hh2, li_mm2, li_ss2, li_ff2
String ls_text
Lt_start=now ()
Li_hh1=hour (lt_start)
Li_mm1=minute (lt_start)
Li_ss1=second (lt_start)
Li_ff1=integer (right (string (lt_start, 'hh: mm: ss: FFFFFF), 6))
The do while not ib_stop
The yield ()
Lt_now=now ()
Li_hh2=hour (lt_now)
Li_mm2=minute (lt_now)
Li_ss2=second (lt_now)
Li_ff2=integer (right (string (lt_now, 'hh: mm: ss: FFFFFF), 6))
Ls_text=string (time (li_hh2 - li_hh1 li_mm2 - li_mm1 li_ss2 - li_ss1 li_ff2 - li_ff1), 'hh: mm: ss: ff)
Em_1. Text=ls_text
loop
CodePudding user response:
Try using DW Timer_Interva directlyCodePudding user response:
The data window completely can be solved.