PROGTXT1ð// Polygone.rcx #source RIS1.5 #target RCX main [ sensor s1 on 1 sensor s2 on 2 sensor s3 on 3 var counter = 0 output motorA on 1 output motorB on 2 output motorC on 3 forward [motorA motorB motorC] power [motorA motorB motorC] 7 s1 is rotation as angle clear s1 start progTask wait 10 forever [] ] task progTask [ power [motorA motorC] 5 forward [motorA motorC] on [motorA motorC] wait 1000 clear counter while counter is 0..4 [ power [motorA motorC] 7 forward motorC backward motorA clear s1 on [motorA motorC] while s1 is not -100..-24 [ ] power [motorA motorC] 5 forward [motorA motorC] on [motorA motorC] wait 1000 counter += 1 ] power [motorA motorC] 7 forward motorC backward motorA clear s1 on [motorA motorC] while s1 is not -100..-24 [ ] off [motorA motorC] ] DESCTXT2òRobotername: Mars-Rover Is able to draw a polygone. Needs special construction. DirectionMaster. Rotationsensor