|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
Re: Programming for sonar with MaxRobotix Sensor
You can get a reading from a sensor by getting the voltage output by the sensor. Which can be done like this:
Code:
private AnalogChannel ultrasonic = new AnalogChannel(1); private double voltage = ultrasonic.getVoltage(); |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|