Frc2481 / frc-2019

0 stars 0 forks source link

Read IR Line Sensor Array #21

Closed Kython89 closed 5 years ago

Kython89 commented 5 years ago

The line sensor IR array is going to be a PWM based device. It will be connected to a digital input on the RoboRio. We need to use WPI Counter objects to decode the PWM signal.

The exact signal is not defined but the hope is to send 1/8 inch resolution location of the center of the line relative to the center of the board. Additional RiseTimes maybe used to indicate errors or other status information.

Kython89 commented 5 years ago

Confirmed working.