Go Down

Topic: programming maxbotix and ping sensor (Read 3168 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.
The art of getting good answers lies in asking good questions.


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