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

Get Distance Function #3

Open
VapidPythonn opened this issue Jun 22, 2018 · 1 comment
Open

Get Distance Function #3

VapidPythonn opened this issue Jun 22, 2018 · 1 comment

Comments

@VapidPythonn
Copy link

The getDistance() function returns 255 almost all the time with the occasion (unrealistic) other answer.

I am running an Arduino Uno, and the Ultrasonic Sensor works perfectly fine with the Mindstorms NXT.

@adamwolf
Copy link
Member

Hi! The most likely thing is that the Ultrasonic sensor isn't getting 7.2-9V. Please check the power supply and the jumpers, per https://www.wayneandlayne.com/bricktronics/sensors/.

If that solves it, awesome! If not, please email support@wayneandlayne.com.

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

2 participants