Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def SeguirLinha(lado, tempo, cor):
- if lado == 'D':
- while tempo:
- if sensor() == cor:
- MotorDireita.run( Velocidade )
- MotorEsquerda.run( Velocidade )
- else:
- MotorDireita.run( Velocidade )
- MotorEsquerda.run( Velocidade * -1 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement