mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-03 19:24:09 +05:30
Fixed comment in sensors.h
This commit is contained in:
parent
b8931b271d
commit
dd58da63d1
@ -26,7 +26,7 @@ long Ping(int pin) {
|
||||
pinMode(pin, INPUT);
|
||||
duration = pulseIn(pin, HIGH);
|
||||
|
||||
// convert the time into meters
|
||||
// convert the time into centimeters
|
||||
range = microsecondsToCm(duration);
|
||||
|
||||
return(range);
|
||||
|
Loading…
x
Reference in New Issue
Block a user