Go Down

Topic: programming maxbotix and ping sensor (Read 2166 times) previous topic - next topic


i am getting an issue that how should i arrange it so i can retrieve value from here and can pass commands to my motors?

Create a function, just like you did before (except with a better name). Return a value (inches) from that function, rather than using a global variable.

You have two incompatible sets of code that purport to read data from the sensor. Only one can possibly be correct. It is that code, whichever one it is, that is the basis for a robust application.


thank you so much i will work on the code on thursday and will show you then thank you so much for helping me

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131