Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ultrasonic.MeasureInMillimeters();" not working #7

Open
BigSmoke908 opened this issue Jul 7, 2021 · 0 comments
Open

"ultrasonic.MeasureInMillimeters();" not working #7

BigSmoke908 opened this issue Jul 7, 2021 · 0 comments

Comments

@BigSmoke908
Copy link

if i take a variable and give it the value "ultrasonic.MeasureInMillimeters();" the arduino ide says, that this does not exist (exact error message below). I have the library installed and other things like
"ultrasonic.MeasureInCentimeters();" work just fine. I am using version 1.0.0 of this library.

Complete Error Message:
Arduino: 1.8.15 (Windows 10), Board: "Arduino Uno"
C:\Users\PC\Desktop\sketch_jul06a\sketch_jul06a.ino: In function 'void loop()':

sketch_jul06a:42:28: error: 'class Ultrasonic' has no member named 'MeasureInMillimeters'; did you mean 'MeasureInCentimeters'?

centimeters = ultrasonic.MeasureInMillimeters();

                        ^~~~~~~~~~~~~~~~~~~~

                        MeasureInCentimeters

exit status 1

'class Ultrasonic' has no member named 'MeasureInMillimeters'; did you mean 'MeasureInCentimeters'?

Note for further questions: i am not that active on GitHub, if you try to contact me, please use my discord (Ken Rosenberg#9127)

@BigSmoke908 BigSmoke908 changed the title "ultrasonic.MeasureInMillimeter();" not working "ultrasonic.MeasureInMillimeters();" not working Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant