人復雜想的事情也復雜,這程序不需要比較。
LD P_On
OUT TR0
TIM 000 #50
ANDNOT TIM000
OUT 10.00
LD TR0
AND TIM000
OUT TR1
ANDNOT 10.00
TIM 001 #100
LD TR1
ANDNOT TIM001
OUT 10.01
LD TR0
AND TIM001
OUT TR1
ANDNOT 10.01
TIM 002 #150
LD TR1
ANDNOT TIM002
OUT 10.02
LD TR0
AND TIM002
OUT TR0
ANDNOT 10.02
TIM 003 #400
LD TR0
ANDNOT TIM003
OUT 10.03