|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Code Support for 2017 Sensors
We have been trying to program the sensors available from FIRST Choice, namely the Photoelectric and Ultrasonic Proximity Sensors, both by Rockwell Automation. Which libraries should we use for these sensors?
Thanks! BetaBlues |
|
#2
|
|||
|
|||
|
Re: Code Support for 2017 Sensors
Quote:
For the photoelectric sensors I believe that you calibrate them to see a certain color and then they output a certain voltage if they the color and a certain voltage if they dont, so digital. Therefore, this may be of use: http://first.wpi.edu/FRC/roborio/rel...italInput.html If you can get it working, please let me know because we are interested in using them also! |
|
#3
|
|||
|
|||
|
Re: Code Support for 2017 Sensors
Oh, also if you scroll down a bit on this page: http://wpilib.screenstepslive.com/s/...ntrol-behavior
It will give an example on how to use a digital input. Also, please correct me if I am wrong about how the photoelectric sensor works! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|