symbol trig = C.4 symbol range = w6 main: label_10: pulsout trig,2 pulsin trig,1,w6 pause 20 let w6 = w6 * 10 / 58 let b0 = b12 if b13 = 0 then ultra_0 let b0 = 255 ultra_0: if w6> 30 then label_22 servo 1, 200 servo 2, 100 if w6< 30 then label_10 label_22: servo 1, 150 servo 2, 200 goto main