Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   MaxSonar range (http://www.chiefdelphi.com/forums/showthread.php?t=101648)

Redstone 31-01-2012 18:33

MaxSonar range
 
What is the syntax to get a range from our MaxSonar sensor and how do we access the analog inputs?

shuhao 31-01-2012 22:34

Re: MaxSonar range
 
I'm currently using AnalogChannel

Can't seem to get it to stay accurate (it is for a while.. then just gives me false readings)

theprgramerdude 01-02-2012 13:03

Re: MaxSonar range
 
AnalogChannel objects provide the way to access the analog input channel. Create one on the specified channel number, and then call the GetVoltage() method or something similar to read the voltage on the channel


All times are GMT -5. The time now is 22:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi