Changes
Page history
u4099 created page: Lesson4Week6
authored
Mar 10, 2015
by
Daniel Jung Moltzen
Hide whitespace changes
Inline
Side-by-side
Lesson4Week6.markdown
View page @
576d828a
...
@@ -148,6 +148,10 @@ public class PIDCarController {
...
@@ -148,6 +148,10 @@ public class PIDCarController {
int derivative = 0;
int derivative = 0;
int error = 0;
int error = 0;
int turn;
int turn;
// Calibrate the black/white threshold
sensor.calibrate();
offset = sensor.blackWhiteThreshold();
LCD.clear();
LCD.clear();
LCD.drawString("Light: ", 0, 2);
LCD.drawString("Light: ", 0, 2);
...
...
...
...