jeroendoggen / Arduino-distance-sensor-library

Arduino library for distance sensors
Other
37 stars 21 forks source link

Small error in DistanceSensor.cpp (wrong class) #2

Open jeroendoggen opened 9 years ago

jeroendoggen commented 9 years ago

From zha...@gmail.com on January 22, 2013 02:32:01

What steps will reproduce the problem? 1. Install library

  1. Test centimeter.ino What is the expected output? What do you see instead? Compiler error on line 67 of DistanceSensor.cpp What version of the product are you using? On what operating system? 0.1 release, Windows Please provide any additional information below. Problem line 67: void UltrasonicDistanceSensor::setAveraging(int avg)

Fixed line 67: void DistanceSensor::setAveraging(int avg)

Original issue: http://code.google.com/p/arduino-distance-sensor-library/issues/detail?id=1