(Untitled)

 

In week 7 we’ve been using the colour sensor! from what I’ve found out  it can make your robot stop as soon as it senses a certain colour. It can also allow you to adjust the speed of the robot when it senses a colour, using this information and some help from Oliver (because I was away) Dom created this code:

this code consists of colour sensor commands, motor commands and it’s also repeated/ Looped. With the help of a good code the robot went 20% faster when it sensed red & MAX SPEED when it hit blue like I programmed. One of our challenges was to make it follow a black line and I never got around to that guess I’ll have to get around to that next lesson.

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *