change debug print
This commit is contained in:
parent
b30e350cd1
commit
a2997d757b
|
@ -188,7 +188,7 @@ void loop() {
|
||||||
int16_t speedvalue=constrain(analogRead(PIN_POTI)*1.0/MAXADCVALUE*1000, 0, 1000);
|
int16_t speedvalue=constrain(analogRead(PIN_POTI)*1.0/MAXADCVALUE*1000, 0, 1000);
|
||||||
|
|
||||||
SendSerial1(speedvalue,speedvalue);
|
SendSerial1(speedvalue,speedvalue);
|
||||||
Serial.print("millis="); Serial.print(millis()); Serial.print(", steer=0"); Serial.print(", speed="); Serial.println(speedvalue);
|
Serial.print("Send "); Serial.print(millis()); Serial.print("ms, steer=0"); Serial.print(", speed="); Serial.println(speedvalue);
|
||||||
|
|
||||||
last_send = millis();
|
last_send = millis();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue