View Full Version : Java DIO Programming
alexpell00
10-02-2016, 12:55
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
You can use a DigitalInput object to access a DIO port.
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.
Listing the part number might help others help you.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.