Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/src.ino
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void processCommand() {

if (current_arg.equals("*IDN?")) {
// CMD: *IDN?
Serial.print("SourceBots:Arduino:X:2.0\n");
Serial.print("SourceBots:Arduino:X:2.1\n");
return;
}

Expand Down Expand Up @@ -172,7 +172,7 @@ void processCommand() {
digitalWrite(pulse, LOW);

// measure the echo time on the echo pin
int duration = pulseIn(echo, HIGH, 60000);
long duration = pulseIn(echo, HIGH, 60000);
Serial.print(microsecondsToMm(duration));
Serial.print("\n");
return;
Expand Down
Loading