Values for Sharp brand sensors in java

Hello there. I am new to a team and have very limited coding experience. Our robot this year is using sensors to measure distance. We are using Sharp-brand analog sensors. Our team has no experience using these, and we are having trouble finding the values needed to get inputs to register. Much appreciated!

The datasheet for the sensor will tell you which port to plug into on the RIO and also provide a scaling factor.
So depending on the port, you use the right command to get the data and then the conversion factor to get a useful number.

EDIT: if you link the sensor, it may help because then I csn also look at the datasheet

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.