Here is a common error. Thinking that Roverbot will continue to move while the range is between 40 and 50, students assume that when the light reading is out of the range, Roverbot will stop. But motors donít stop unless they are told to do so specifically (i.e., Off AC).

 

© The LEGO Group

Motors wonít stop when you move to a bright area. Theyíll stay on because nothing stops them.

A proper solution would be to have Roverbot move when the light readings are within range and stop when itís above the range as in the example below.

© The LEGO Group

 

Close Window