I'm building the "How to make your first robot" robot and i'm stuck on the programming part. I've been trying to figure this out for 2 hours now and i'm about to go insane.
This is my code
Symbol dangerlevel = 70 ' how far away should thing be, before we react?
symbol turn = 300 ' this sets how much should be turned
symbol servo_turn = 700 ' This sets for how long time we should wait for the servo to turn (depending on it´s speed) before we measure distance