Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Java DIO Programming (http://www.chiefdelphi.com/forums/showthread.php?t=143573)

alexpell00 10-02-2016 12:55

Java DIO Programming
 
Hello,

In Java how do I get raw digital input from and ultrasonic sensor? I know there is an ultra sonic object, but I am using a specialized sensor with only one input.

nickbrickmaster 10-02-2016 13:00

Re: Java DIO Programming
 
You can use a DigitalInput object to access a DIO port.

seg9585 10-02-2016 14:37

Re: Java DIO Programming
 
Quote:

Originally Posted by alexpell00 (Post 1538079)
Hello,

In Java how do I get raw digital input from and ultrasonic sensor? I know there is an ultra sonic object, but I am using a specialized sensor with only one input.

Do you know what the output protocol is of your sensor? Is it PWM? If so you should consider wiring up a low pass filter and then feeding it into an analog input instead.

mmaunu 10-02-2016 17:28

Re: Java DIO Programming
 
Listing the part number might help others help you.


All times are GMT -5. The time now is 04:33.

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