|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
Re: Java DIO Programming
You can use a DigitalInput object to access a DIO port.
|
|
#3
|
||||
|
||||
|
Re: Java DIO Programming
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.
|
|
#4
|
||||
|
||||
|
Re: Java DIO Programming
Listing the part number might help others help you.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|