|
@ -20,14 +20,8 @@ void motorMapping() { |
|
|
pwmB = map(leftPWM, -255,255,leftMin,leftMax); |
|
|
pwmB = map(leftPWM, -255,255,leftMin,leftMax); |
|
|
pwmA = map(rightPWM, -255,255,rightMin,rightMax); |
|
|
pwmA = map(rightPWM, -255,255,rightMin,rightMax); |
|
|
if((millis() - temp) > 100) { |
|
|
if((millis() - temp) > 100) { |
|
|
// lcd.clear();
|
|
|
|
|
|
// lcd.println("Links: ");
|
|
|
|
|
|
lcdLines[0] = "Links: " + String(pwmB, DEC); |
|
|
lcdLines[0] = "Links: " + String(pwmB, DEC); |
|
|
// lcd.println(pwmB);
|
|
|
|
|
|
// lcd.gotoXY(0,2);
|
|
|
|
|
|
// lcd.println("Rechts: ");
|
|
|
|
|
|
lcdLines[1] = "Rechts: " + String(pwmA, DEC); |
|
|
lcdLines[1] = "Rechts: " + String(pwmA, DEC); |
|
|
// lcd.println(pwmA);
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
senden(); |
|
|
senden(); |
|
|