motortest by whittenjaw85

This sketch is missing a short description
Fill in the appropriate areas to complete the exercise. The goal is to make the robot stay on the black line using the two sensors. Hint: If the reflection of the sensor is high, then the value will be small (usually a white surface). Otherwise, the reflection will be small and the returned value from sensorRead() will be high.

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:137473" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>